home *** CD-ROM | disk | FTP | other *** search
/ Nathaniel Hawthorne / Nathaniel Hawthorne.iso / mac / XTRAS / MasterApp XObject / MasterApp XObject.rsrc
MacOS Resource Fork  |  1997-03-30  |  64.5 KB  |  [XOBJ/MD93]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default


id metadata
keyvalue
macFileType[XOBJ]
macFileCreator[MD93]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 01 |.2... ..|.....R..|
|00000030| 01 90 58 4f 42 4a 4d 44 | 39 33 01 00 00 00 00 00 |..XOBJMD|93......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 01 | 01 34 00 01 00 34 00 00 |........|.4...4..|
|00000060| 00 5c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.\......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 11 4d 61 73 74 65 | 72 41 70 70 20 58 4f 62 |...Maste|rApp XOb|
|00000090| 6a 65 63 74 02 00 00 00 | 58 4f 42 4a 4d 44 39 33 |ject....|XOBJMD93|
|000000a0| 01 00 00 00 58 4f 42 4a | 4d 44 39 33 01 00 00 3d |....XOBJ|MD93...=|
|000000b0| 00 9c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 af 63 9c ed | 00 00 00 00 00 01 01 90 |.....c..|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 40 01 00 | 80 00 00 00 03 31 2e 30 |.....@..|.....1.0|
|00000160| 35 31 2e 30 2c 20 a9 20 | 31 39 39 36 2d 31 39 39 |51.0, . |1996-199|
|00000170| 37 20 47 6c 65 6e 6e 20 | 4d 2e 20 50 69 63 68 65 |7 Glenn |M. Piche|
|00000180| 72 20 28 72 65 67 69 73 | 74 65 72 65 64 20 76 65 |r (regis|tered ve|
|00000190| 72 73 69 6f 6e 29 00 00 | 00 22 01 00 80 00 00 00 |rsion)..|."......|
|000001a0| 03 31 2e 30 17 44 69 72 | 69 67 6f 20 4d 75 6c 74 |.1.0.Dir|igo Mult|
|000001b0| 69 6d 65 64 69 61 20 74 | 6f 6f 6c 73 00 00 ff c6 |imedia t|ools....|
|000001c0| 60 00 73 9c 00 00 00 00 | 00 00 00 00 2a 2d 2d 20 |`.s.....|....*-- |
|000001d0| 4d 61 73 74 65 72 41 70 | 70 20 58 4f 62 6a 65 63 |MasterAp|p XObjec|
|000001e0| 74 2c 20 76 65 72 73 69 | 6f 6e 20 31 2e 30 2c 20 |t, versi|on 1.0, |
|000001f0| 33 2f 32 39 2f 39 37 3c | 2d 2d 20 43 6f 70 79 72 |3/29/97<|-- Copyr|
|00000200| 69 67 68 74 20 a9 20 31 | 39 39 36 2d 31 39 39 37 |ight . 1|996-1997|
|00000210| 2c 20 47 6c 65 6e 6e 20 | 4d 2e 20 50 69 63 68 65 |, Glenn |M. Piche|
|00000220| 72 2c 20 44 69 72 69 67 | 6f 20 4d 75 6c 74 69 6d |r, Dirig|o Multim|
|00000230| 65 64 69 61 47 2d 2d 20 | 68 74 74 70 3a 2f 2f 77 |ediaG-- |http://w|
|00000240| 77 77 2e 6d 61 69 6e 65 | 2e 63 6f 6d 2f 73 68 6f |ww.maine|.com/sho|
|00000250| 70 73 2f 67 70 69 63 68 | 65 72 2c 20 67 70 69 63 |ps/gpich|er, gpic|
|00000260| 68 65 72 40 6d 61 69 6e | 65 2e 63 6f 6d 2c 20 28 |her@main|e.com, (|
|00000270| 32 30 37 29 37 36 37 2d | 38 30 31 35 03 2d 2d 20 |207)767-|8015.-- |
|00000280| 49 2d 2d 20 50 75 62 6c | 69 73 68 65 64 20 62 79 |I-- Publ|ished by|
|00000290| 20 67 2f 6d 61 74 74 65 | 72 2c 20 69 6e 63 2e 20 | g/matte|r, inc. |
|000002a0| 46 6f 72 20 6c 69 63 65 | 6e 73 69 6e 67 2c 20 63 |For lice|nsing, c|
|000002b0| 61 6c 6c 20 28 38 30 30 | 29 39 33 33 2d 36 32 32 |all (800|)933-622|
|000002c0| 33 20 6f 72 20 65 6d 61 | 69 6c 48 2d 2d 20 73 61 |3 or ema|ilH-- sa|
|000002d0| 6c 65 73 40 67 6d 61 74 | 74 65 72 2e 63 6f 6d 2e |les@gmat|ter.com.|
|000002e0| 20 46 6f 72 20 74 65 63 | 68 6e 69 63 61 6c 20 73 | For tec|hnical s|
|000002f0| 75 70 70 6f 72 74 2c 20 | 63 61 6c 6c 20 28 34 31 |upport, |call (41|
|00000300| 35 29 32 34 33 2d 30 33 | 39 34 20 6f 72 20 65 6d |5)243-03|94 or em|
|00000310| 61 69 6c 50 2d 2d 20 73 | 75 70 70 6f 72 74 40 67 |ailP-- s|upport@g|
|00000320| 6d 61 74 74 65 72 2e 63 | 6f 6d 20 2e 20 56 69 73 |matter.c|om . Vis|
|00000330| 69 74 20 74 68 65 20 67 | 2f 6d 61 74 74 65 72 20 |it the g|/matter |
|00000340| 57 65 62 20 73 69 74 65 | 20 61 74 20 68 74 74 70 |Web site| at http|
|00000350| 3a 2f 2f 77 77 77 2e 67 | 6d 61 74 74 65 72 2e 63 |://www.g|matter.c|
|00000360| 6f 6d 20 2e 02 2d 2d 4b | 2d 2d 20 52 65 67 69 73 |om ..--K|-- Regis|
|00000370| 74 65 72 65 64 20 76 65 | 72 73 69 6f 6e 2d 2d 20 |tered ve|rsion-- |
|00000380| 74 68 61 6e 6b 73 21 20 | 44 6f 6e 27 74 20 66 6f |thanks! |Don't fo|
|00000390| 72 67 65 74 20 74 6f 20 | 75 73 65 20 79 6f 75 72 |rget to |use your|
|000003a0| 20 72 65 67 69 73 74 72 | 61 74 69 6f 6e 20 6b 65 | registr|ation ke|
|000003b0| 79 73 21 02 2d 2d 06 49 | 20 6d 4e 65 77 1b 2d 2d |ys!.--.I| mNew.--|
|000003c0| 20 53 74 61 6e 64 61 72 | 64 20 63 72 65 61 74 69 | Standar|d creati|
|000003d0| 6f 6e 20 6d 65 74 68 6f | 64 02 2d 2d 0a 58 20 6d |on metho|d.--.X m|
|000003e0| 44 69 73 70 6f 73 65 1a | 2d 2d 20 53 74 61 6e 64 |Dispose.|-- Stand|
|000003f0| 61 72 64 20 64 69 73 70 | 6f 73 65 20 6d 65 74 68 |ard disp|ose meth|
|00000400| 6f 64 02 2d 2d 40 2d 2d | 20 4e 6f 74 65 3a 20 43 |od.--@--| Note: C|
|00000410| 68 65 63 6b 20 61 6c 6c | 20 73 74 72 69 6e 67 2d |heck all| string-|
|00000420| 72 65 74 75 72 6e 69 6e | 67 20 6d 65 74 68 6f 64 |returnin|g method|
|00000430| 73 20 66 6f 72 20 77 6f | 72 64 20 31 20 27 45 72 |s for wo|rd 1 'Er|
|00000440| 72 6f 72 3a 27 2c 2c 2d | 2d 20 66 6f 6c 6c 6f 77 |ror:',,-|- follow|
|00000450| 65 64 20 62 79 20 61 20 | 64 65 73 63 72 69 70 74 |ed by a |descript|
|00000460| 69 6f 6e 20 6f 66 20 74 | 68 65 20 70 72 6f 62 6c |ion of t|he probl|
|00000470| 65 6d 2e 02 2d 2d 11 2d | 2d 20 54 41 53 4b 20 46 |em..--.-|- TASK F|
|00000480| 55 4e 43 54 49 4f 4e 53 | 11 2d 2d 20 2d 2d 2d 2d |UNCTIONS|.-- ----|
|00000490| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 4d 2d 2d 20 4e 6f |--------|--M-- No|
|000004a0| 74 65 3a 20 6f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |te: on t|he Mac, |
|000004b0| 64 75 65 20 74 6f 20 61 | 72 63 68 69 74 65 63 74 |due to a|rchitect|
|000004c0| 75 72 61 6c 20 64 69 66 | 66 65 72 65 6e 63 65 73 |ural dif|ferences|
|000004d0| 2c 20 74 61 73 6b 49 44 | 73 2c 20 6d 6f 64 75 6c |, taskID|s, modul|
|000004e0| 65 49 44 73 20 61 6e 64 | 55 2d 2d 20 69 6e 73 74 |eIDs and|U-- inst|
|000004f0| 61 6e 63 65 49 44 73 20 | 61 72 65 20 69 6e 74 65 |anceIDs |are inte|
|00000500| 72 63 68 61 6e 67 65 61 | 62 6c 65 2e 20 54 68 65 |rchangea|ble. The|
|00000510| 79 20 61 72 65 20 64 69 | 73 74 69 6e 63 74 6c 79 |y are di|stinctly|
|00000520| 20 64 69 66 66 65 72 65 | 6e 74 20 6e 75 6d 62 65 | differe|nt numbe|
|00000530| 72 73 20 6f 6e 20 57 69 | 6e 64 6f 77 73 2e 02 2d |rs on Wi|ndows..-|
|00000540| 2d 0e 53 20 6d 47 65 74 | 54 61 73 6b 4c 69 73 74 |-.S mGet|TaskList|
|00000550| 46 2d 2d 20 52 65 74 75 | 72 6e 73 20 61 20 73 74 |F-- Retu|rns a st|
|00000560| 72 69 6e 67 20 6f 66 20 | 61 6c 6c 20 63 75 72 72 |ring of |all curr|
|00000570| 65 6e 74 6c 79 20 72 75 | 6e 6e 69 6e 67 20 74 61 |ently ru|nning ta|
|00000580| 73 6b 73 2c 20 77 69 74 | 68 20 74 68 65 20 66 6f |sks, wit|h the fo|
|00000590| 6c 6c 6f 77 69 6e 67 2a | 2d 2d 20 69 6e 66 6f 20 |llowing*|-- info |
|000005a0| 6f 6e 20 65 61 63 68 20 | 6c 69 6e 65 2c 20 73 65 |on each |line, se|
|000005b0| 70 61 72 61 74 65 64 20 | 62 79 20 63 6f 6d 6d 61 |parated |by comma|
|000005c0| 73 3a 39 2d 2d 20 20 20 | 74 61 73 6b 4e 61 6d 65 |s:9-- |taskName|
|000005d0| 2c 20 74 61 73 6b 49 44 | 2c 20 70 61 72 65 6e 74 |, taskID|, parent|
|000005e0| 54 61 73 6b 49 44 2c 20 | 69 6e 73 74 61 6e 63 65 |TaskID, |instance|
|000005f0| 49 44 2c 20 6d 6f 64 75 | 6c 65 49 44 3d 2d 2d 20 |ID, modu|leID=-- |
|00000600| 4f 6e 20 74 68 65 20 4d | 61 63 2c 20 74 61 73 6b |On the M|ac, task|
|00000610| 49 44 2c 20 69 6e 73 74 | 61 6e 63 65 49 44 20 61 |ID, inst|anceID a|
|00000620| 6e 64 20 6d 6f 64 75 6c | 65 49 44 20 61 72 65 20 |nd modul|eID are |
|00000630| 69 64 65 6e 74 69 63 61 | 6c 2e 45 2d 2d 20 4f 6e |identica|l.E-- On|
|00000640| 20 74 68 65 20 4d 61 63 | 2c 20 74 61 73 6b 49 44 | the Mac|, taskID|
|00000650| 73 20 61 72 65 20 75 6e | 69 71 75 65 20 74 6f 20 |s are un|ique to |
|00000660| 65 61 63 68 20 4d 61 73 | 74 65 72 41 70 70 20 58 |each Mas|terApp X|
|00000670| 4f 62 6a 65 63 74 20 69 | 6e 73 74 61 6e 63 65 2c |Object i|nstance,|
|00000680| 4b 2d 2d 20 62 65 63 61 | 75 73 65 20 74 61 73 6b |K-- beca|use task|
|00000690| 49 44 73 20 61 72 65 20 | 6d 61 69 6e 74 61 69 6e |IDs are |maintain|
|000006a0| 65 64 20 62 79 20 4d 61 | 73 74 65 72 41 70 70 2c |ed by Ma|sterApp,|
|000006b0| 20 6e 6f 74 20 62 79 20 | 74 68 65 20 73 79 73 74 | not by |the syst|
|000006c0| 65 6d 20 73 6f 66 74 77 | 61 72 65 2e 3b 2d 2d 20 |em softw|are.;-- |
|000006d0| 44 6f 20 6e 6f 74 20 75 | 73 65 20 6f 6e 65 20 69 |Do not u|se one i|
|000006e0| 6e 73 74 61 6e 63 65 27 | 73 20 74 61 73 6b 49 44 |nstance'|s taskID|
|000006f0| 73 20 77 69 74 68 20 61 | 6e 6f 74 68 65 72 20 69 |s with a|nother i|
|00000700| 6e 73 74 61 6e 63 65 2e | 48 2d 2d 20 4f 6e 20 74 |nstance.|H-- On t|
|00000710| 68 65 20 4d 61 63 2c 20 | 6f 6e 6c 79 20 74 68 65 |he Mac, |only the|
|00000720| 20 46 69 6e 64 65 72 20 | 68 61 73 20 30 20 66 6f | Finder |has 0 fo|
|00000730| 72 20 70 61 72 65 6e 74 | 54 61 73 6b 49 44 2e 20 |r parent|TaskID. |
|00000740| 41 6c 6c 20 6f 74 68 65 | 72 20 74 61 73 6b 49 44 |All othe|r taskID|
|00000750| 73 4a 2d 2d 20 61 72 65 | 20 70 6f 73 69 74 69 76 |sJ-- are| positiv|
|00000760| 65 20 69 6e 74 65 67 65 | 72 73 20 33 32 20 6f 72 |e intege|rs 32 or|
|00000770| 20 68 69 67 68 65 72 3b | 20 61 6e 79 20 6f 74 68 | higher;| any oth|
|00000780| 65 72 20 76 61 6c 75 65 | 20 69 6e 64 69 63 61 74 |er value| indicat|
|00000790| 65 73 20 61 6e 20 65 72 | 72 6f 72 2e 43 2d 2d 20 |es an er|ror.C-- |
|000007a0| 42 65 77 61 72 65 20 6f | 66 20 74 61 73 6b 4e 61 |Beware o|f taskNa|
|000007b0| 6d 65 73 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 63 |mes cont|aining c|
|000007c0| 6f 6d 6d 61 73 20 77 68 | 65 6e 20 69 6e 74 65 72 |ommas wh|en inter|
|000007d0| 70 72 65 74 69 6e 67 20 | 72 65 73 75 6c 74 73 21 |preting |results!|
|000007e0| 0d 53 20 6d 47 65 74 54 | 61 73 6b 49 44 73 46 2d |.S mGetT|askIDsF-|
|000007f0| 2d 20 52 65 74 75 72 6e | 73 20 61 20 73 74 72 69 |- Return|s a stri|
|00000800| 6e 67 20 6f 66 20 74 68 | 65 20 74 61 73 6b 49 44 |ng of th|e taskID|
|00000810| 73 20 6f 66 20 61 6c 6c | 20 63 75 72 72 65 6e 74 |s of all| current|
|00000820| 6c 79 20 72 75 6e 6e 69 | 6e 67 20 74 61 73 6b 73 |ly runni|ng tasks|
|00000830| 2c 20 61 6c 6c 4c 2d 2d | 20 6f 6e 20 6f 6e 65 20 |, allL--| on one |
|00000840| 6c 69 6e 65 2c 20 73 65 | 70 61 72 61 74 65 64 20 |line, se|parated |
|00000850| 62 79 20 73 70 61 63 65 | 73 2e 20 55 73 65 20 27 |by space|s. Use '|
|00000860| 77 6f 72 64 27 20 74 6f | 20 77 61 6c 6b 20 74 68 |word' to| walk th|
|00000870| 72 6f 75 67 68 20 74 68 | 65 20 72 65 73 75 6c 74 |rough th|e result|
|00000880| 73 2e 4a 2d 2d 20 54 68 | 69 73 20 69 73 20 6d 6f |s.J-- Th|is is mo|
|00000890| 72 65 20 70 72 65 63 69 | 73 65 20 74 68 61 6e 20 |re preci|se than |
|000008a0| 6d 47 65 74 54 61 73 6b | 4c 69 73 74 2c 20 62 65 |mGetTask|List, be|
|000008b0| 63 61 75 73 65 20 61 20 | 74 61 73 6b 4e 61 6d 65 |cause a |taskName|
|000008c0| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 61 4c 2d 2d | contain|ing aL--|
|000008d0| 20 63 6f 6d 6d 61 20 77 | 6f 6e 27 74 20 61 66 66 | comma w|on't aff|
|000008e0| 65 63 74 20 74 68 65 20 | 70 6f 73 69 74 69 6f 6e |ect the |position|
|000008f0| 20 6f 66 20 74 68 65 20 | 72 65 73 75 6c 74 73 2e | of the |results.|
|00000900| 20 53 65 65 20 6d 47 65 | 74 54 61 73 6b 4c 69 73 | See mGe|tTaskLis|
|00000910| 74 20 66 6f 72 20 6d 6f | 72 65 36 2d 2d 20 69 6e |t for mo|re6-- in|
|00000920| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00000930| 4d 61 63 2d 73 70 65 63 | 69 66 69 63 20 69 73 73 |Mac-spec|ific iss|
|00000940| 75 65 73 20 77 69 74 68 | 20 74 61 73 6b 49 44 73 |ues with| taskIDs|
|00000950| 2e 14 53 49 20 6d 54 61 | 73 6b 4e 61 6d 65 2c 20 |..SI mTa|skName, |
|00000960| 74 61 73 6b 49 44 51 2d | 2d 20 52 65 74 75 72 6e |taskIDQ-|- Return|
|00000970| 73 20 69 6e 74 65 72 6e | 61 6c 20 6e 61 6d 65 20 |s intern|al name |
|00000980| 66 6f 72 20 61 20 74 61 | 73 6b 49 44 2e 20 4f 6e |for a ta|skID. On|
|00000990| 20 74 68 65 20 4d 61 63 | 2c 20 69 66 20 74 68 65 | the Mac|, if the|
|000009a0| 20 74 61 73 6b 20 69 73 | 20 61 6e 20 61 70 70 6c | task is| an appl|
|000009b0| 69 63 61 74 69 6f 6e 2c | 4d 2d 2d 20 74 68 69 73 |ication,|M-- this|
|000009c0| 20 69 73 20 74 68 65 20 | 73 61 6d 65 20 74 65 78 | is the |same tex|
|000009d0| 74 20 74 68 61 74 27 73 | 20 64 69 73 70 6c 61 79 |t that's| display|
|000009e0| 65 64 20 6f 6e 20 74 68 | 65 20 61 70 70 6c 69 63 |ed on th|e applic|
|000009f0| 61 74 69 6f 6e 73 20 70 | 75 6c 6c 2d 64 6f 77 6e |ations p|ull-down|
|00000a00| 20 6d 65 6e 75 2e 3c 2d | 2d 20 55 73 65 20 6d 4d | menu.<-|- Use mM|
|00000a10| 6f 64 75 6c 65 46 69 6c | 65 4e 61 6d 65 20 74 6f |oduleFil|eName to|
|00000a20| 20 67 65 74 20 74 68 65 | 20 66 75 6c 6c 20 66 69 | get the| full fi|
|00000a30| 6c 65 6e 61 6d 65 20 6f | 66 20 74 68 65 20 74 61 |lename o|f the ta|
|00000a40| 73 6b 2e 16 49 49 20 6d | 54 61 73 6b 50 61 72 65 |sk..II m|TaskPare|
|00000a50| 6e 74 2c 20 74 61 73 6b | 49 44 22 2d 2d 20 52 65 |nt, task|ID"-- Re|
|00000a60| 74 75 72 6e 73 20 74 68 | 65 20 74 61 73 6b 27 73 |turns th|e task's|
|00000a70| 20 70 61 72 65 6e 74 20 | 74 61 73 6b 2e 18 49 49 | parent |task..II|
|00000a80| 20 6d 54 61 73 6b 49 6e | 73 74 61 6e 63 65 2c 20 | mTaskIn|stance, |
|00000a90| 74 61 73 6b 49 44 53 2d | 2d 20 52 65 74 75 72 6e |taskIDS-|- Return|
|00000aa0| 73 20 61 20 74 61 73 6b | 27 73 20 69 6e 73 74 61 |s a task|'s insta|
|00000ab0| 6e 63 65 49 44 2e 20 4f | 6e 20 74 68 65 20 4d 61 |nceID. O|n the Ma|
|00000ac0| 63 2c 20 74 68 65 20 74 | 61 73 6b 49 44 20 61 6e |c, the t|askID an|
|00000ad0| 64 20 69 6e 73 74 61 6e | 63 65 49 44 20 61 72 65 |d instan|ceID are|
|00000ae0| 20 74 68 65 20 73 61 6d | 65 2e 47 2d 2d 20 52 65 | the sam|e.G-- Re|
|00000af0| 74 75 72 6e 73 20 74 68 | 65 20 73 61 6d 65 20 49 |turns th|e same I|
|00000b00| 44 20 70 72 6f 76 69 64 | 65 64 2c 20 6f 72 20 30 |D provid|ed, or 0|
|00000b10| 20 69 66 20 74 68 65 20 | 74 61 73 6b 49 44 20 69 | if the |taskID i|
|00000b20| 73 20 6e 6f 20 6c 6f 6e | 67 65 72 20 76 61 6c 69 |s no lon|ger vali|
|00000b30| 64 2e 16 49 49 20 6d 54 | 61 73 6b 4d 6f 64 75 6c |d..II mT|askModul|
|00000b40| 65 2c 20 74 61 73 6b 49 | 44 4f 2d 2d 20 52 65 74 |e, taskI|DO-- Ret|
|00000b50| 75 72 6e 73 20 61 20 74 | 61 73 6b 27 73 20 6d 6f |urns a t|ask's mo|
|00000b60| 64 75 6c 65 49 44 2e 20 | 4f 6e 20 74 68 65 20 4d |duleID. |On the M|
|00000b70| 61 63 2c 20 74 68 65 20 | 74 61 73 6b 49 44 20 61 |ac, the |taskID a|
|00000b80| 6e 64 20 6d 6f 64 75 6c | 65 49 44 20 61 72 65 20 |nd modul|eID are |
|00000b90| 74 68 65 20 73 61 6d 65 | 2e 47 2d 2d 20 52 65 74 |the same|.G-- Ret|
|00000ba0| 75 72 6e 73 20 74 68 65 | 20 73 61 6d 65 20 49 44 |urns the| same ID|
|00000bb0| 20 70 72 6f 76 69 64 65 | 64 2c 20 6f 72 20 30 20 | provide|d, or 0 |
|00000bc0| 69 66 20 74 68 65 20 74 | 61 73 6b 49 44 20 69 73 |if the t|askID is|
|00000bd0| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 76 61 6c 69 64 | no long|er valid|
|00000be0| 2e 16 49 49 20 6d 54 61 | 73 6b 45 76 65 6e 74 73 |..II mTa|skEvents|
|00000bf0| 2c 20 74 61 73 6b 49 44 | 4c 2d 2d 20 52 65 74 75 |, taskID|L-- Retu|
|00000c00| 72 6e 73 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |rns the |number o|
|00000c10| 66 20 65 76 65 6e 74 73 | 20 77 61 69 74 69 6e 67 |f events| waiting|
|00000c20| 20 66 6f 72 20 74 68 65 | 20 74 61 73 6b 20 74 6f | for the| task to|
|00000c30| 20 70 72 6f 63 65 73 73 | 2e 20 4f 6e 20 74 68 65 | process|. On the|
|00000c40| 20 4d 61 63 2c 4c 2d 2d | 20 74 68 69 73 20 6e 65 | Mac,L--| this ne|
|00000c50| 76 65 72 20 72 65 74 75 | 72 6e 73 20 6d 6f 72 65 |ver retu|rns more|
|00000c60| 20 74 68 61 6e 20 31 2c | 20 61 6e 64 20 61 6c 77 | than 1,| and alw|
|00000c70| 61 79 73 20 72 65 74 75 | 72 6e 73 20 30 20 66 6f |ays retu|rns 0 fo|
|00000c80| 72 20 74 61 73 6b 73 20 | 6f 74 68 65 72 20 74 68 |r tasks |other th|
|00000c90| 61 6e 4a 2d 2d 20 74 68 | 65 20 44 69 72 65 63 74 |anJ-- th|e Direct|
|00000ca0| 6f 72 20 74 61 73 6b 20 | 69 74 73 65 6c 66 20 28 |or task |itself (|
|00000cb0| 62 65 63 61 75 73 65 20 | 6f 66 20 64 69 66 66 65 |because |of diffe|
|00000cc0| 72 65 6e 63 65 73 20 69 | 6e 20 74 68 65 20 4d 61 |rences i|n the Ma|
|00000cd0| 63 20 61 6e 64 20 57 69 | 6e 64 6f 77 73 43 2d 2d |c and Wi|ndowsC--|
|00000ce0| 20 65 76 65 6e 74 20 70 | 72 6f 63 65 73 73 69 6e | event p|rocessin|
|00000cf0| 67 20 61 72 63 68 69 74 | 65 63 74 75 72 65 29 2e |g archit|ecture).|
|00000d00| 20 52 65 74 75 72 6e 73 | 20 2d 31 20 69 66 20 74 | Returns| -1 if t|
|00000d10| 61 73 6b 49 44 20 69 73 | 20 69 6e 76 61 6c 69 64 |askID is| invalid|
|00000d20| 2e 1d 53 49 20 6d 47 65 | 74 54 61 73 6b 57 69 6e |..SI mGe|tTaskWin|
|00000d30| 64 6f 77 4c 69 73 74 2c | 20 74 61 73 6b 49 44 4c |dowList,| taskIDL|
|00000d40| 2d 2d 20 47 65 74 20 61 | 20 6c 69 73 74 20 6f 66 |-- Get a| list of|
|00000d50| 20 61 6c 6c 20 77 69 6e | 64 6f 77 73 20 6f 77 6e | all win|dows own|
|00000d60| 65 64 20 62 79 20 74 68 | 65 20 74 61 73 6b 2c 20 |ed by th|e task, |
|00000d70| 6f 6e 65 20 70 65 72 20 | 6c 69 6e 65 2c 20 69 6e |one per |line, in|
|00000d80| 20 74 68 65 20 66 6f 72 | 6d 61 74 3a 42 2d 2d 20 | the for|mat:B-- |
|00000d90| 20 20 77 69 6e 64 6f 77 | 4e 61 6d 65 2c 20 77 69 | window|Name, wi|
|00000da0| 6e 64 6f 77 49 44 2c 20 | 70 61 72 65 6e 74 57 69 |ndowID, |parentWi|
|00000db0| 6e 64 6f 77 49 44 2c 20 | 68 61 73 43 68 69 6c 64 |ndowID, |hasChild|
|00000dc0| 72 65 6e 2c 20 77 69 6e | 64 6f 77 54 79 70 65 49 |ren, win|dowTypeI|
|00000dd0| 2d 2d 20 4f 6e 20 74 68 | 65 20 4d 61 63 2c 20 70 |-- On th|e Mac, p|
|00000de0| 61 72 65 6e 74 57 69 6e | 64 6f 77 49 44 20 69 73 |arentWin|dowID is|
|00000df0| 20 61 6c 77 61 79 73 20 | 30 2e 20 42 65 63 61 75 | always |0. Becau|
|00000e00| 73 65 20 77 69 6e 64 6f | 77 4e 61 6d 65 20 6d 61 |se windo|wName ma|
|00000e10| 79 20 63 6f 6e 74 61 69 | 6e 48 2d 2d 20 63 6f 6d |y contai|nH-- com|
|00000e20| 6d 61 73 2c 20 6d 47 65 | 74 54 61 73 6b 57 69 6e |mas, mGe|tTaskWin|
|00000e30| 64 6f 77 49 44 73 20 69 | 73 20 61 20 6d 6f 72 65 |dowIDs i|s a more|
|00000e40| 20 62 75 6c 6c 65 74 70 | 72 6f 6f 66 20 6d 65 74 | bulletp|roof met|
|00000e50| 68 6f 64 20 6f 66 20 69 | 64 65 6e 74 69 66 79 69 |hod of i|dentifyi|
|00000e60| 6e 67 0f 2d 2d 20 61 6c | 6c 20 77 69 6e 64 6f 77 |ng.-- al|l window|
|00000e70| 73 2e 16 58 20 6d 44 6f | 6e 74 55 73 65 4c 61 79 |s..X mDo|ntUseLay|
|00000e80| 65 72 4d 61 6e 61 67 65 | 72 12 58 20 6d 55 73 65 |erManage|r.X mUse|
|00000e90| 4c 61 79 65 72 4d 61 6e | 61 67 65 72 4d 2d 2d 20 |LayerMan|agerM-- |
|00000ea0| 44 69 73 61 6c 6c 6f 77 | 20 6f 72 20 61 6c 6c 6f |Disallow| or allo|
|00000eb0| 77 20 75 73 65 20 6f 66 | 20 74 68 65 20 75 6e 64 |w use of| the und|
|00000ec0| 6f 63 75 6d 65 6e 74 65 | 64 20 4c 61 79 65 72 20 |ocumente|d Layer |
|00000ed0| 4d 61 6e 61 67 65 72 20 | 69 6e 20 64 65 74 65 63 |Manager |in detec|
|00000ee0| 74 69 6e 67 20 6f 74 68 | 65 72 53 2d 2d 20 61 70 |ting oth|erS-- ap|
|00000ef0| 70 6c 69 63 61 74 69 6f | 6e 73 27 20 77 69 6e 64 |plicatio|ns' wind|
|00000f00| 6f 77 73 2e 20 54 68 65 | 20 4c 61 79 65 72 20 4d |ows. The| Layer M|
|00000f10| 61 6e 61 67 65 72 20 69 | 73 20 6c 69 6b 65 6c 79 |anager i|s likely|
|00000f20| 20 6e 6f 74 20 74 6f 20 | 77 6f 72 6b 20 77 69 74 | not to |work wit|
|00000f30| 68 20 66 75 74 75 72 65 | 20 4d 61 63 4f 53 53 2d |h future| MacOSS-|
|00000f40| 2d 20 6f 70 65 72 61 74 | 69 6e 67 20 73 79 73 74 |- operat|ing syst|
|00000f50| 65 6d 20 76 65 72 73 69 | 6f 6e 73 20 28 53 79 73 |em versi|ons (Sys|
|00000f60| 74 65 6d 20 38 2e 30 20 | 26 20 6c 61 74 65 72 2c |tem 8.0 |& later,|
|00000f70| 20 6f 72 20 4e 65 78 74 | 2f 4f 53 20 72 65 6c 65 | or Next|/OS rele|
|00000f80| 61 73 65 73 29 2e 20 42 | 79 20 64 65 66 61 75 6c |ases). B|y defaul|
|00000f90| 74 2c 56 2d 2d 20 75 73 | 65 20 6f 66 20 74 68 65 |t,V-- us|e of the|
|00000fa0| 20 4c 61 79 65 72 20 4d | 61 6e 61 67 65 72 20 69 | Layer M|anager i|
|00000fb0| 73 20 61 6c 6c 6f 77 65 | 64 20 69 66 20 74 68 65 |s allowe|d if the|
|00000fc0| 20 73 79 73 74 65 6d 20 | 76 65 72 73 69 6f 6e 20 | system |version |
|00000fd0| 69 73 20 37 2e 31 20 6f | 72 20 67 72 65 61 74 65 |is 7.1 o|r greate|
|00000fe0| 72 2c 20 62 75 74 20 69 | 73 50 2d 2d 20 64 69 73 |r, but i|sP-- dis|
|00000ff0| 61 6c 6c 6f 77 65 64 20 | 69 66 20 69 74 27 73 20 |allowed |if it's |
|00001000| 38 2e 30 20 6f 72 20 67 | 72 65 61 74 65 72 2e 20 |8.0 or g|reater. |
|00001010| 49 66 20 75 73 65 20 6f | 66 20 74 68 65 20 4c 61 |If use o|f the La|
|00001020| 79 65 72 20 4d 61 6e 61 | 67 65 72 20 69 73 20 64 |yer Mana|ger is d|
|00001030| 69 73 61 6c 6c 6f 77 65 | 64 2c 51 2d 2d 20 79 6f |isallowe|d,Q-- yo|
|00001040| 75 20 63 61 6e 20 6f 6e | 6c 79 20 64 65 74 65 63 |u can on|ly detec|
|00001050| 74 20 77 69 6e 64 6f 77 | 73 20 6f 66 20 74 68 65 |t window|s of the|
|00001060| 20 44 69 72 65 63 74 6f | 72 20 74 61 73 6b 20 69 | Directo|r task i|
|00001070| 74 73 65 6c 66 2e 20 4f | 6e 63 65 20 38 2e 30 20 |tself. O|nce 8.0 |
|00001080| 69 73 20 72 65 6c 65 61 | 73 65 64 2c 3f 2d 2d 20 |is relea|sed,?-- |
|00001090| 63 68 65 63 6b 20 66 6f | 72 20 66 75 74 75 72 65 |check fo|r future|
|000010a0| 20 72 65 6c 65 61 73 65 | 73 20 6f 66 20 74 68 69 | release|s of thi|
|000010b0| 73 20 58 4f 62 6a 65 63 | 74 20 20 77 68 69 63 68 |s XObjec|t which|
|000010c0| 20 77 69 6c 6c 20 64 65 | 74 65 63 74 49 2d 2d 20 | will de|tectI-- |
|000010d0| 6f 74 68 65 72 20 61 70 | 70 27 73 20 77 69 6e 64 |other ap|p's wind|
|000010e0| 6f 77 73 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |ows acco|rding to|
|000010f0| 20 38 2e 30 20 73 70 65 | 63 69 66 69 63 61 74 69 | 8.0 spe|cificati|
|00001100| 6f 6e 73 2e 20 54 68 65 | 73 65 20 74 77 6f 20 6d |ons. The|se two m|
|00001110| 65 74 68 6f 64 73 4f 2d | 2d 20 61 72 65 20 70 72 |ethodsO-|- are pr|
|00001120| 6f 76 69 64 65 64 20 74 | 6f 20 61 6c 6c 6f 77 20 |ovided t|o allow |
|00001130| 79 6f 75 20 74 6f 20 6f | 76 65 72 72 69 64 65 20 |you to o|verride |
|00001140| 74 68 65 20 64 65 66 61 | 75 6c 74 20 62 65 68 61 |the defa|ult beha|
|00001150| 76 69 6f 72 20 6f 66 20 | 2a 74 68 69 73 2a 20 76 |vior of |*this* v|
|00001160| 65 72 73 69 6f 6e 4d 2d | 2d 20 6f 66 20 74 68 65 |ersionM-|- of the|
|00001170| 20 58 4f 62 6a 65 63 74 | 2c 20 77 68 69 63 68 20 | XObject|, which |
|00001180| 73 68 6f 75 6c 64 20 62 | 65 20 73 61 66 65 2c 20 |should b|e safe, |
|00001190| 69 66 20 6e 6f 74 20 66 | 75 6c 6c 79 20 66 75 6e |if not f|ully fun|
|000011a0| 63 74 69 6f 6e 61 6c 2c | 20 75 6e 64 65 72 20 38 |ctional,| under 8|
|000011b0| 2e 30 20 2e 3f 2d 2d 20 | 54 68 65 73 65 20 6d 65 |.0 .?-- |These me|
|000011c0| 74 68 6f 64 73 20 6f 6e | 6c 79 20 65 78 69 73 74 |thods on|ly exist|
|000011d0| 20 69 6e 20 74 68 65 20 | 4d 61 63 20 76 65 72 73 | in the |Mac vers|
|000011e0| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 58 4f 62 6a |ion of t|his XObj|
|000011f0| 65 63 74 2e 1c 53 49 20 | 6d 47 65 74 54 61 73 6b |ect..SI |mGetTask|
|00001200| 57 69 6e 64 6f 77 49 44 | 73 2c 20 74 61 73 6b 49 |WindowID|s, taskI|
|00001210| 44 4c 2d 2d 20 52 65 74 | 75 72 6e 73 20 61 20 73 |DL-- Ret|urns a s|
|00001220| 74 72 69 6e 67 20 6f 66 | 20 74 68 65 20 77 69 6e |tring of| the win|
|00001230| 64 6f 77 49 44 73 20 6f | 66 20 61 6c 6c 20 74 68 |dowIDs o|f all th|
|00001240| 65 20 74 61 73 6b 73 27 | 20 77 69 6e 64 6f 77 73 |e tasks'| windows|
|00001250| 2c 20 6f 6e 20 6f 6e 65 | 20 6c 69 6e 65 2c 4c 2d |, on one| line,L-|
|00001260| 2d 20 73 65 70 61 72 61 | 74 65 64 20 62 79 20 73 |- separa|ted by s|
|00001270| 70 61 63 65 73 2e 20 55 | 73 65 20 27 77 6f 72 64 |paces. U|se 'word|
|00001280| 27 20 74 6f 20 77 61 6c | 6b 20 74 68 72 6f 75 67 |' to wal|k throug|
|00001290| 68 20 74 68 65 20 72 65 | 73 75 6c 74 73 2e 20 4d |h the re|sults. M|
|000012a0| 6f 72 65 20 70 72 65 63 | 69 73 65 2d 2d 2d 20 62 |ore prec|ise--- b|
|000012b0| 75 74 20 68 61 72 64 65 | 72 20 74 6f 20 75 73 65 |ut harde|r to use|
|000012c0| 20 74 68 61 6e 20 6d 47 | 65 74 54 61 73 6b 57 69 | than mG|etTaskWi|
|000012d0| 6e 64 6f 77 4c 69 73 74 | 2e 1b 49 49 20 6d 47 65 |ndowList|..II mGe|
|000012e0| 74 57 69 6e 64 6f 77 54 | 61 73 6b 2c 20 77 69 6e |tWindowT|ask, win|
|000012f0| 64 6f 77 49 44 29 2d 2d | 20 52 65 74 75 72 6e 73 |dowID)--| Returns|
|00001300| 20 74 68 65 20 74 61 73 | 6b 49 44 20 66 6f 72 20 | the tas|kID for |
|00001310| 61 20 67 69 76 65 6e 20 | 77 69 6e 64 6f 77 2e 24 |a given |window.$|
|00001320| 49 49 49 20 6d 52 75 64 | 65 51 75 69 74 54 61 73 |III mRud|eQuitTas|
|00001330| 6b 2c 20 74 61 73 6b 49 | 44 2c 20 65 78 69 74 56 |k, taskI|D, exitV|
|00001340| 61 6c 75 65 51 2d 2d 20 | 46 6f 72 63 65 73 20 61 |alueQ-- |Forces a|
|00001350| 20 74 61 73 6b 20 74 6f | 20 71 75 69 74 2e 20 4f | task to| quit. O|
|00001360| 6e 20 74 68 65 20 4d 61 | 63 2c 20 65 78 69 74 56 |n the Ma|c, exitV|
|00001370| 61 6c 75 65 20 69 73 20 | 69 67 6e 6f 72 65 64 2e |alue is |ignored.|
|00001380| 20 54 68 69 73 20 6d 65 | 74 68 6f 64 20 69 73 6e | This me|thod isn|
|00001390| 27 74 20 61 6c 6c 4c 2d | 2d 20 74 68 61 74 20 72 |'t allL-|- that r|
|000013a0| 75 64 65 20 6f 6e 20 74 | 68 65 20 4d 61 63 2d 2d |ude on t|he Mac--|
|000013b0| 20 69 74 20 73 65 6e 64 | 73 20 61 20 53 79 73 74 | it send|s a Syst|
|000013c0| 65 6d 2d 37 20 73 74 61 | 6e 64 61 72 64 20 27 71 |em-7 sta|ndard 'q|
|000013d0| 75 69 74 27 20 41 70 70 | 6c 65 45 76 65 6e 74 20 |uit' App|leEvent |
|000013e0| 28 6f 72 4e 2d 2d 20 73 | 69 6d 75 6c 61 74 65 73 |(orN-- s|imulates|
|000013f0| 20 61 20 51 75 69 74 20 | 6d 65 6e 75 20 63 68 6f | a Quit |menu cho|
|00001400| 69 63 65 2c 20 66 6f 72 | 20 70 72 65 2d 53 79 73 |ice, for| pre-Sys|
|00001410| 74 65 6d 2d 37 20 73 6f | 66 74 77 61 72 65 29 2e |tem-7 so|ftware).|
|00001420| 20 4e 6f 74 65 20 74 68 | 61 74 20 74 68 65 20 61 | Note th|at the a|
|00001430| 70 70 4b 2d 2d 20 79 6f | 75 27 72 65 20 74 72 79 |ppK-- yo|u're try|
|00001440| 69 6e 67 20 74 6f 20 71 | 75 69 74 20 6d 61 79 20 |ing to q|uit may |
|00001450| 64 69 73 70 6c 61 79 20 | 61 20 27 64 6f 6e 27 74 |display |a 'don't|
|00001460| 20 73 61 76 65 27 2f 27 | 63 61 6e 63 65 6c 27 2f | save'/'|cancel'/|
|00001470| 27 73 61 76 65 27 20 64 | 69 61 6c 6f 67 2e 4f 2d |'save' d|ialog.O-|
|00001480| 2d 20 4e 6f 74 65 20 74 | 68 61 74 20 41 70 70 6c |- Note t|hat Appl|
|00001490| 65 53 63 72 69 70 74 20 | 69 73 20 2a 6e 6f 74 2a |eScript |is *not*|
|000014a0| 20 72 65 71 75 69 72 65 | 64 20 74 6f 20 62 65 20 | require|d to be |
|000014b0| 69 6e 73 74 61 6c 6c 65 | 64 20 74 6f 20 73 65 6e |installe|d to sen|
|000014c0| 64 20 41 70 70 6c 65 45 | 76 65 6e 74 73 2e 19 49 |d AppleE|vents..I|
|000014d0| 49 20 6d 54 61 73 6b 49 | 73 52 75 6e 6e 69 6e 67 |I mTaskI|sRunning|
|000014e0| 2c 20 74 61 73 6b 49 44 | 3b 2d 2d 20 52 65 74 75 |, taskID|;-- Retu|
|000014f0| 72 6e 73 20 54 52 55 45 | 20 69 66 20 74 68 65 20 |rns TRUE| if the |
|00001500| 74 61 73 6b 20 69 73 20 | 73 74 69 6c 6c 20 72 75 |task is |still ru|
|00001510| 6e 6e 69 6e 67 2c 20 46 | 41 4c 53 45 20 69 66 20 |nning, F|ALSE if |
|00001520| 6e 6f 74 2e 19 49 49 20 | 6d 46 65 65 64 54 69 6d |not..II |mFeedTim|
|00001530| 65 53 6c 69 63 65 2c 20 | 74 61 73 6b 49 44 4c 2d |eSlice, |taskIDL-|
|00001540| 2d 20 57 61 6b 65 73 20 | 74 68 65 20 74 61 73 6b |- Wakes |the task|
|00001550| 20 75 70 2c 20 61 6e 64 | 20 61 6c 6c 6f 77 73 20 | up, and| allows |
|00001560| 6f 74 68 65 72 20 74 61 | 73 6b 73 20 74 6f 20 72 |other ta|sks to r|
|00001570| 75 6e 2e 20 4f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |un. On t|he Mac, |
|00001580| 74 68 69 73 20 6d 65 74 | 68 6f 64 54 2d 2d 20 64 |this met|hodT-- d|
|00001590| 6f 65 73 20 6e 6f 74 20 | 6e 65 63 65 73 73 61 72 |oes not |necessar|
|000015a0| 69 6c 79 20 69 6e 73 75 | 72 65 20 74 68 61 74 20 |ily insu|re that |
|000015b0| 74 68 65 20 69 6e 64 69 | 63 61 74 65 64 20 74 61 |the indi|cated ta|
|000015c0| 73 6b 20 72 75 6e 73 20 | 6e 65 78 74 20 28 64 75 |sk runs |next (du|
|000015d0| 65 20 74 6f 20 64 69 66 | 66 65 72 65 6e 63 65 73 |e to dif|ferences|
|000015e0| 52 2d 2d 20 69 6e 20 65 | 76 65 6e 74 20 70 72 6f |R-- in e|vent pro|
|000015f0| 63 65 73 73 69 6e 67 20 | 61 72 63 68 69 74 65 63 |cessing |architec|
|00001600| 74 75 72 65 29 2c 20 62 | 75 74 20 69 74 20 64 6f |ture), b|ut it do|
|00001610| 65 73 20 6d 61 6b 65 20 | 69 74 20 72 75 6e 20 61 |es make |it run a|
|00001620| 73 20 73 6f 6f 6e 20 61 | 73 20 70 6f 73 73 69 62 |s soon a|s possib|
|00001630| 6c 65 2e 56 2d 2d 20 54 | 68 69 73 20 6d 65 74 68 |le.V-- T|his meth|
|00001640| 6f 64 20 6d 61 79 20 62 | 65 20 6e 65 63 65 73 73 |od may b|e necess|
|00001650| 61 72 79 20 66 6f 72 20 | 61 70 70 73 20 74 6f 20 |ary for |apps to |
|00001660| 70 72 6f 63 65 73 73 20 | 6d 65 73 73 61 67 65 73 |process |messages|
|00001670| 2e 20 45 73 70 65 63 69 | 61 6c 6c 79 20 75 73 65 |. Especi|ally use|
|00001680| 66 75 6c 20 77 69 74 68 | 69 6e 57 2d 2d 20 61 20 |ful with|inW-- a |
|00001690| 4c 69 6e 67 6f 20 72 65 | 70 65 61 74 20 6c 6f 6f |Lingo re|peat loo|
|000016a0| 70 2c 20 77 68 69 63 68 | 20 6e 6f 72 6d 61 6c 6c |p, which| normall|
|000016b0| 79 20 6d 6f 6e 6f 70 6f | 6c 69 7a 65 73 20 61 6c |y monopo|lizes al|
|000016c0| 6c 20 74 69 6d 65 73 6c | 69 63 65 73 2e 20 52 65 |l timesl|ices. Re|
|000016d0| 74 75 72 6e 73 20 65 72 | 72 6f 72 20 63 6f 64 65 |turns er|ror code|
|000016e0| 73 3a 4b 2d 2d 20 2d 31 | 3a 20 69 6e 76 61 6c 69 |s:K-- -1|: invali|
|000016f0| 64 20 74 61 73 6b 49 44 | 3b 20 2d 32 3a 20 74 61 |d taskID|; -2: ta|
|00001700| 73 6b 20 77 61 73 20 61 | 6c 72 65 61 64 79 20 72 |sk was a|lready r|
|00001710| 75 6e 6e 69 6e 67 20 28 | 44 69 72 65 63 74 6f 72 |unning (|Director|
|00001720| 20 74 61 73 6b 20 69 74 | 73 65 6c 66 29 3b 4c 2d | task it|self);L-|
|00001730| 2d 20 30 3a 20 6e 6f 20 | 65 72 72 6f 72 2e 20 50 |- 0: no |error. P|
|00001740| 6f 73 73 69 62 6c 65 20 | 73 69 64 65 20 65 66 66 |ossible |side eff|
|00001750| 65 63 74 3a 20 74 68 65 | 20 44 69 72 65 63 74 6f |ect: the| Directo|
|00001760| 72 20 74 61 73 6b 27 73 | 20 77 69 6e 64 6f 77 73 |r task's| windows|
|00001770| 20 6d 61 79 20 6e 6f 74 | 20 62 65 51 2d 2d 20 70 | may not| beQ-- p|
|00001780| 72 6f 70 65 72 6c 79 20 | 75 70 64 61 74 65 64 20 |roperly |updated |
|00001790| 69 66 20 74 68 69 73 20 | 6d 65 74 68 6f 64 20 69 |if this |method i|
|000017a0| 73 20 75 73 65 64 20 77 | 69 74 68 69 6e 20 61 20 |s used w|ithin a |
|000017b0| 6c 6f 6e 67 20 72 65 70 | 65 61 74 20 6c 6f 6f 70 |long rep|eat loop|
|000017c0| 20 61 6e 64 20 74 68 65 | 20 75 73 65 72 19 2d 2d | and the| user.--|
|000017d0| 20 73 77 69 74 63 68 65 | 73 20 61 70 70 6c 69 63 | switche|s applic|
|000017e0| 61 74 69 6f 6e 73 2e 17 | 58 20 6d 46 65 65 64 47 |ations..|X mFeedG|
|000017f0| 65 6e 65 72 69 63 54 69 | 6d 65 53 6c 69 63 65 4d |enericTi|meSliceM|
|00001800| 2d 2d 20 47 69 76 65 73 | 20 75 70 20 70 72 6f 63 |-- Gives| up proc|
|00001810| 65 73 73 6f 72 20 74 69 | 6d 65 20 66 6f 72 20 6f |essor ti|me for o|
|00001820| 74 68 65 72 20 74 61 73 | 6b 73 20 74 6f 20 72 75 |ther tas|ks to ru|
|00001830| 6e 2e 20 55 73 65 66 75 | 6c 20 77 69 74 68 69 6e |n. Usefu|l within|
|00001840| 20 4c 69 6e 67 6f 20 72 | 65 70 65 61 74 44 2d 2d | Lingo r|epeatD--|
|00001850| 20 6c 6f 6f 70 73 2c 20 | 77 68 69 63 68 20 6e 6f | loops, |which no|
|00001860| 72 6d 61 6c 6c 79 20 6d | 6f 6e 6f 70 6f 6c 69 7a |rmally m|onopoliz|
|00001870| 65 20 61 6c 6c 20 74 69 | 6d 65 73 6c 69 63 65 73 |e all ti|meslices|
|00001880| 2e 20 4e 6f 20 72 65 74 | 75 72 6e 20 76 61 6c 75 |. No ret|urn valu|
|00001890| 65 2e 3f 2d 2d 20 50 6f | 73 73 69 62 6c 65 20 73 |e.?-- Po|ssible s|
|000018a0| 69 64 65 20 65 66 66 65 | 63 74 3a 20 74 68 65 20 |ide effe|ct: the |
|000018b0| 44 69 72 65 63 74 6f 72 | 20 74 61 73 6b 27 73 20 |Director| task's |
|000018c0| 77 69 6e 64 6f 77 73 20 | 6d 61 79 20 6e 6f 74 20 |windows |may not |
|000018d0| 62 65 51 2d 2d 20 70 72 | 6f 70 65 72 6c 79 20 75 |beQ-- pr|operly u|
|000018e0| 70 64 61 74 65 64 20 69 | 66 20 74 68 69 73 20 6d |pdated i|f this m|
|000018f0| 65 74 68 6f 64 20 69 73 | 20 75 73 65 64 20 77 69 |ethod is| used wi|
|00001900| 74 68 69 6e 20 61 20 6c | 6f 6e 67 20 72 65 70 65 |thin a l|ong repe|
|00001910| 61 74 20 6c 6f 6f 70 20 | 61 6e 64 20 74 68 65 20 |at loop |and the |
|00001920| 75 73 65 72 19 2d 2d 20 | 73 77 69 74 63 68 65 73 |user.-- |switches|
|00001930| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2e 0f 49 | applica|tions..I|
|00001940| 20 6d 44 69 72 65 63 74 | 6f 72 54 61 73 6b 2e 2d | mDirect|orTask.-|
|00001950| 2d 20 52 65 74 75 72 6e | 73 20 44 69 72 65 63 74 |- Return|s Direct|
|00001960| 6f 72 20 6f 72 20 74 68 | 65 20 70 72 6f 6a 65 63 |or or th|e projec|
|00001970| 74 6f 72 27 73 20 74 61 | 73 6b 49 44 2e 17 49 49 |tor's ta|skID..II|
|00001980| 20 6d 54 61 73 6b 54 6f | 46 72 6f 6e 74 2c 20 74 | mTaskTo|Front, t|
|00001990| 61 73 6b 49 44 49 2d 2d | 20 4d 6f 76 65 73 20 74 |askIDI--| Moves t|
|000019a0| 68 65 20 74 61 73 6b 20 | 74 6f 20 74 68 65 20 66 |he task |to the f|
|000019b0| 72 6f 6e 74 2e 20 44 6f | 65 73 20 6e 6f 74 20 65 |ront. Do|es not e|
|000019c0| 78 69 73 74 20 6f 6e 20 | 57 69 6e 64 6f 77 73 20 |xist on |Windows |
|000019d0| 62 65 63 61 75 73 65 20 | 6f 66 20 73 6f 6d 65 4c |because |of someL|
|000019e0| 2d 2d 20 66 75 6e 64 61 | 6d 65 6e 74 61 6c 20 64 |-- funda|mental d|
|000019f0| 69 66 66 65 72 65 6e 63 | 65 73 20 62 65 74 77 65 |ifferenc|es betwe|
|00001a00| 65 6e 20 4d 61 63 20 61 | 6e 64 20 57 69 6e 20 69 |en Mac a|nd Win i|
|00001a10| 6e 20 74 68 65 20 77 61 | 79 20 74 61 73 6b 73 20 |n the wa|y tasks |
|00001a20| 61 72 65 20 6d 61 6e 61 | 67 65 64 2e 0f 53 20 6d |are mana|ged..S m|
|00001a30| 47 65 74 54 61 73 6b 4f | 72 64 65 72 52 2d 2d 20 |GetTaskO|rderR-- |
|00001a40| 52 65 74 75 72 6e 73 20 | 74 61 73 6b 49 44 73 20 |Returns |taskIDs |
|00001a50| 6f 66 20 61 6c 6c 20 61 | 70 70 73 20 77 69 74 68 |of all a|pps with|
|00001a60| 20 6d 65 6e 75 73 2c 20 | 69 6e 20 74 68 65 20 6f | menus, |in the o|
|00001a70| 72 64 65 72 20 74 68 65 | 79 20 61 70 70 65 61 72 |rder the|y appear|
|00001a80| 20 6f 6e 20 74 68 65 20 | 73 63 72 65 65 6e 2e 5a | on the |screen.Z|
|00001a90| 2d 2d 20 49 66 20 75 73 | 65 20 6f 66 20 74 68 65 |-- If us|e of the|
|00001aa0| 20 4c 61 79 65 72 4d 61 | 6e 61 67 65 72 20 69 73 | LayerMa|nager is|
|00001ab0| 20 64 69 73 61 62 6c 65 | 64 2c 20 74 68 6f 75 67 | disable|d, thoug|
|00001ac0| 68 2c 20 74 68 69 73 20 | 69 73 20 6a 75 73 74 20 |h, this |is just |
|00001ad0| 61 20 73 79 6e 6f 6e 79 | 6d 20 66 6f 72 20 6d 47 |a synony|m for mG|
|00001ae0| 65 74 54 61 73 6b 49 44 | 73 2e 57 2d 2d 20 54 68 |etTaskID|s.W-- Th|
|00001af0| 69 73 20 4d 61 63 2d 6f | 6e 6c 79 20 6d 65 74 68 |is Mac-o|nly meth|
|00001b00| 6f 64 20 6c 65 74 73 20 | 79 6f 75 20 64 65 74 65 |od lets |you dete|
|00001b10| 72 6d 69 6e 65 20 74 68 | 65 20 66 72 6f 6e 74 6d |rmine th|e frontm|
|00001b20| 6f 73 74 20 61 70 70 2c | 20 65 76 65 6e 20 69 66 |ost app,| even if|
|00001b30| 20 69 74 27 73 20 6e 6f | 74 20 73 68 6f 77 69 6e | it's no|t showin|
|00001b40| 67 2e 4f 2d 2d 20 61 6e | 79 20 77 69 6e 64 6f 77 |g.O-- an|y window|
|00001b50| 73 2e 20 4f 6e 20 57 69 | 6e 64 6f 77 73 2c 20 79 |s. On Wi|ndows, y|
|00001b60| 6f 75 20 63 61 6e 27 74 | 20 68 61 76 65 20 61 20 |ou can't| have a |
|00001b70| 6d 65 6e 75 20 62 61 72 | 20 77 69 74 68 6f 75 74 |menu bar| without|
|00001b80| 20 61 6e 79 20 6f 70 65 | 6e 20 77 69 6e 64 6f 77 | any ope|n window|
|00001b90| 73 2e 02 2d 2d 02 2d 2d | 13 2d 2d 20 4d 4f 44 55 |s..--.--|.-- MODU|
|00001ba0| 4c 45 20 46 55 4e 43 54 | 49 4f 4e 53 13 2d 2d 20 |LE FUNCT|IONS.-- |
|00001bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001bc0| 10 53 20 6d 47 65 74 4d | 6f 64 75 6c 65 4c 69 73 |.S mGetM|oduleLis|
|00001bd0| 74 4b 2d 2d 20 52 65 74 | 75 72 6e 73 20 61 20 73 |tK-- Ret|urns a s|
|00001be0| 74 72 69 6e 67 20 6f 66 | 20 61 6c 6c 20 63 75 72 |tring of| all cur|
|00001bf0| 72 65 6e 74 6c 79 20 6c | 6f 61 64 65 64 20 6d 6f |rently l|oaded mo|
|00001c00| 64 75 6c 65 73 2c 20 6f | 6e 65 20 70 65 72 20 6c |dules, o|ne per l|
|00001c10| 69 6e 65 2c 20 77 69 74 | 68 20 74 68 65 3b 2d 2d |ine, wit|h the;--|
|00001c20| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 69 6e 66 6f 72 | followi|ng infor|
|00001c30| 6d 61 74 69 6f 6e 20 6f | 6e 20 65 61 63 68 20 6c |mation o|n each l|
|00001c40| 69 6e 65 2c 20 73 65 70 | 61 72 61 74 65 64 20 62 |ine, sep|arated b|
|00001c50| 79 20 63 6f 6d 6d 61 73 | 3a 29 2d 2d 20 20 20 6d |y commas|:)-- m|
|00001c60| 6f 64 75 6c 65 4e 61 6d | 65 2c 20 6d 6f 64 75 6c |oduleNam|e, modul|
|00001c70| 65 49 44 2c 20 6d 6f 64 | 75 6c 65 46 69 6c 65 4e |eID, mod|uleFileN|
|00001c80| 61 6d 65 4f 2d 2d 20 4e | 6f 74 65 3a 20 73 69 6e |ameO-- N|ote: sin|
|00001c90| 63 65 20 6d 6f 64 75 6c | 65 4e 61 6d 65 20 6f 72 |ce modul|eName or|
|00001ca0| 20 6d 6f 64 75 6c 65 46 | 69 6c 65 4e 61 6d 65 20 | moduleF|ileName |
|00001cb0| 6d 69 67 68 74 20 63 6f | 6e 74 61 69 6e 20 63 6f |might co|ntain co|
|00001cc0| 6d 6d 61 73 2c 20 6d 47 | 65 74 4d 6f 64 75 6c 65 |mmas, mG|etModule|
|00001cd0| 49 44 73 34 2d 2d 20 69 | 73 20 61 20 6d 6f 72 65 |IDs4-- i|s a more|
|00001ce0| 20 62 75 6c 6c 65 74 70 | 72 6f 6f 66 20 77 61 79 | bulletp|roof way|
|00001cf0| 20 6f 66 20 6c 69 73 74 | 69 6e 67 20 61 6c 6c 20 | of list|ing all |
|00001d00| 6d 6f 64 75 6c 65 73 2e | 0f 53 20 6d 47 65 74 4d |modules.|.S mGetM|
|00001d10| 6f 64 75 6c 65 49 44 73 | 49 2d 2d 20 52 65 74 75 |oduleIDs|I-- Retu|
|00001d20| 72 6e 73 20 61 20 73 74 | 72 69 6e 67 20 6f 66 20 |rns a st|ring of |
|00001d30| 74 68 65 20 6d 6f 64 75 | 6c 65 49 44 73 20 6f 66 |the modu|leIDs of|
|00001d40| 20 61 6c 6c 20 72 75 6e | 6e 69 6e 67 20 6d 6f 64 | all run|ning mod|
|00001d50| 75 6c 65 73 2c 20 6f 6e | 20 6f 6e 65 20 6c 69 6e |ules, on| one lin|
|00001d60| 65 2c 4b 2d 2d 20 73 65 | 70 61 72 61 74 65 64 20 |e,K-- se|parated |
|00001d70| 62 79 20 73 70 61 63 65 | 73 2e 20 55 73 65 20 27 |by space|s. Use '|
|00001d80| 77 6f 72 64 27 20 74 6f | 20 77 61 6c 6b 20 74 68 |word' to| walk th|
|00001d90| 72 6f 75 67 68 20 74 68 | 65 20 72 65 73 75 6c 74 |rough th|e result|
|00001da0| 73 2e 20 4f 6e 20 74 68 | 65 20 4d 61 63 2c 25 2d |s. On th|e Mac,%-|
|00001db0| 2d 20 74 68 69 73 20 69 | 73 20 61 20 73 79 6e 6f |- this i|s a syno|
|00001dc0| 6e 79 6d 20 66 6f 72 20 | 6d 47 65 74 54 61 73 6b |nym for |mGetTask|
|00001dd0| 49 44 73 2e 18 49 49 20 | 6d 4d 6f 64 75 6c 65 54 |IDs..II |mModuleT|
|00001de0| 61 73 6b 2c 20 6d 6f 64 | 75 6c 65 49 44 4f 2d 2d |ask, mod|uleIDO--|
|00001df0| 20 52 65 74 75 72 6e 73 | 20 74 61 73 6b 69 64 49 | Returns| taskidI|
|00001e00| 44 20 6f 66 20 74 68 65 | 20 67 69 76 65 6e 20 6d |D of the| given m|
|00001e10| 6f 64 75 6c 65 49 44 20 | 28 61 6c 77 61 79 73 20 |oduleID |(always |
|00001e20| 74 68 65 20 73 61 6d 65 | 20 6e 75 6d 62 65 72 2c |the same| number,|
|00001e30| 20 6f 6e 20 74 68 65 20 | 4d 61 63 29 2e 1c 53 49 | on the |Mac)..SI|
|00001e40| 20 6d 4d 6f 64 75 6c 65 | 46 69 6c 65 4e 61 6d 65 | mModule|FileName|
|00001e50| 2c 20 6d 6f 64 75 6c 65 | 49 44 4b 2d 2d 20 47 65 |, module|IDK-- Ge|
|00001e60| 74 20 66 75 6c 6c 20 70 | 61 74 68 20 74 6f 20 61 |t full p|ath to a|
|00001e70| 20 74 61 73 6b 27 73 20 | 61 70 70 6c 69 63 61 74 | task's |applicat|
|00001e80| 69 6f 6e 20 66 69 6c 65 | 2e 20 43 61 6e 20 75 73 |ion file|. Can us|
|00001e90| 65 20 61 20 74 61 73 6b | 49 44 20 6f 6e 20 74 68 |e a task|ID on th|
|00001ea0| 65 20 4d 61 63 2e 13 53 | 20 6d 44 69 72 65 63 74 |e Mac..S| mDirect|
|00001eb0| 6f 72 46 69 6c 65 4e 61 | 6d 65 2f 2d 2d 20 52 65 |orFileNa|me/-- Re|
|00001ec0| 74 75 72 6e 73 20 74 68 | 65 20 66 69 6c 65 6e 61 |turns th|e filena|
|00001ed0| 6d 65 20 6f 66 20 74 68 | 65 20 44 69 72 65 63 74 |me of th|e Direct|
|00001ee0| 6f 72 20 6d 6f 64 75 6c | 65 2e 18 53 49 20 6d 4d |or modul|e..SI mM|
|00001ef0| 6f 64 75 6c 65 4e 61 6d | 65 2c 20 6d 6f 64 75 6c |oduleNam|e, modul|
|00001f00| 65 49 44 52 2d 2d 20 47 | 65 74 20 6d 6f 64 75 6c |eIDR-- G|et modul|
|00001f10| 65 20 6e 61 6d 65 2e 20 | 4f 6e 20 74 68 65 20 4d |e name. |On the M|
|00001f20| 61 63 2c 20 74 68 69 73 | 20 69 73 20 74 68 65 20 |ac, this| is the |
|00001f30| 61 70 70 27 73 20 63 72 | 65 61 74 6f 72 20 61 6e |app's cr|eator an|
|00001f40| 64 20 66 69 6c 65 74 79 | 70 65 20 73 69 67 6e 61 |d filety|pe signa|
|00001f50| 74 75 72 65 73 2c 42 2d | 2d 20 72 65 74 75 72 6e |tures,B-|- return|
|00001f60| 65 64 20 61 73 20 61 6e | 20 38 2d 63 68 61 72 61 |ed as an| 8-chara|
|00001f70| 63 74 65 72 20 73 74 72 | 69 6e 67 2e 20 43 61 6e |cter str|ing. Can|
|00001f80| 20 75 73 65 20 61 20 74 | 61 73 6b 49 44 20 6f 6e | use a t|askID on|
|00001f90| 20 74 68 65 20 4d 61 63 | 2e 1d 49 49 20 6d 4d 6f | the Mac|..II mMo|
|00001fa0| 64 75 6c 65 49 73 52 75 | 6e 6e 69 6e 67 2c 20 6d |duleIsRu|nning, m|
|00001fb0| 6f 64 75 6c 65 49 44 51 | 2d 2d 20 52 65 74 75 72 |oduleIDQ|-- Retur|
|00001fc0| 6e 73 20 54 52 55 45 20 | 69 66 20 74 68 65 20 6d |ns TRUE |if the m|
|00001fd0| 6f 64 75 6c 65 20 69 73 | 20 73 74 69 6c 6c 20 72 |odule is| still r|
|00001fe0| 75 6e 6e 69 6e 67 2c 20 | 66 61 6c 73 65 20 69 66 |unning, |false if|
|00001ff0| 20 6e 6f 74 2e 20 4f 6e | 20 74 68 65 20 4d 61 63 | not. On| the Mac|
|00002000| 2c 20 74 68 69 73 20 69 | 73 20 2d 2d 20 61 20 73 |, this i|s -- a s|
|00002010| 79 6e 6f 6e 79 6d 20 66 | 6f 72 20 6d 54 61 73 6b |ynonym f|or mTask|
|00002020| 49 73 52 75 6e 6e 69 6e | 67 2e 25 49 49 53 20 6d |IsRunnin|g.%IIS m|
|00002030| 55 6e 6c 6f 61 64 4d 6f | 64 75 6c 65 2c 20 6d 6f |UnloadMo|dule, mo|
|00002040| 64 75 6c 65 49 44 2c 20 | 61 70 70 4f 72 44 6c 6c |duleID, |appOrDll|
|00002050| 4f 2d 2d 20 46 6f 72 63 | 65 20 61 20 6d 6f 64 75 |O-- Forc|e a modu|
|00002060| 6c 65 20 74 6f 20 71 75 | 69 74 2e 20 55 73 65 73 |le to qu|it. Uses|
|00002070| 20 74 68 65 20 73 61 6d | 65 20 61 70 70 72 6f 61 | the sam|e approa|
|00002080| 63 68 20 61 73 20 6d 52 | 75 64 65 51 75 69 74 54 |ch as mR|udeQuitT|
|00002090| 61 73 6b 2c 20 62 75 74 | 20 6d 61 74 63 68 65 73 |ask, but| matches|
|000020a0| 47 2d 2d 20 74 68 65 20 | 73 79 6e 74 61 78 20 6f |G-- the |syntax o|
|000020b0| 66 20 74 68 65 20 57 69 | 6e 64 6f 77 73 20 6d 65 |f the Wi|ndows me|
|000020c0| 74 68 6f 64 2e 20 61 70 | 70 4f 72 44 6c 6c 20 69 |thod. ap|pOrDll i|
|000020d0| 73 20 69 72 72 65 6c 65 | 76 61 6e 74 20 6f 6e 20 |s irrele|vant on |
|000020e0| 74 68 65 20 4d 61 63 2e | 11 49 20 6d 44 69 72 65 |the Mac.|.I mDire|
|000020f0| 63 74 6f 72 4d 6f 64 75 | 6c 65 4b 2d 2d 20 52 65 |ctorModu|leK-- Re|
|00002100| 74 75 72 6e 73 20 74 68 | 65 20 6d 6f 64 75 6c 65 |turns th|e module|
|00002110| 49 44 20 6f 66 20 74 68 | 65 20 44 69 72 65 63 74 |ID of th|e Direct|
|00002120| 6f 72 20 74 61 73 6b 2e | 20 4f 6e 20 74 68 65 20 |or task.| On the |
|00002130| 4d 61 63 2c 20 74 68 69 | 73 20 69 73 20 61 20 73 |Mac, thi|s is a s|
|00002140| 79 6e 6f 6e 79 6d 15 2d | 2d 20 66 6f 72 20 6d 44 |ynonym.-|- for mD|
|00002150| 69 72 65 63 74 6f 72 54 | 61 73 6b 2e 02 2d 2d 02 |irectorT|ask..--.|
|00002160| 2d 2d 13 2d 2d 20 57 49 | 4e 44 4f 57 20 46 55 4e |--.-- WI|NDOW FUN|
|00002170| 43 54 49 4f 4e 53 13 2d | 2d 20 2d 2d 2d 2d 2d 2d |CTIONS.-|- ------|
|00002180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 02 2d 2d 16 53 20 |--------|--.--.S |
|00002190| 6d 47 65 74 50 61 72 65 | 6e 74 57 69 6e 64 6f 77 |mGetPare|ntWindow|
|000021a0| 4c 69 73 74 4d 2d 2d 20 | 52 65 74 75 72 6e 73 20 |ListM-- |Returns |
|000021b0| 61 20 73 74 72 69 6e 67 | 20 6f 66 20 61 6c 6c 20 |a string| of all |
|000021c0| 74 6f 70 2d 6c 65 76 65 | 6c 20 77 69 6e 64 6f 77 |top-leve|l window|
|000021d0| 73 20 6f 77 6e 65 64 20 | 62 79 20 61 6c 6c 20 74 |s owned |by all t|
|000021e0| 61 73 6b 73 2c 20 6f 6e | 65 20 70 65 72 20 6c 69 |asks, on|e per li|
|000021f0| 6e 65 2f 2d 2d 20 77 69 | 74 68 20 74 68 65 20 66 |ne/-- wi|th the f|
|00002200| 6f 6c 6c 6f 77 69 6e 67 | 20 69 6e 66 6f 20 73 65 |ollowing| info se|
|00002210| 70 61 72 61 74 65 64 20 | 62 79 20 63 6f 6d 6d 61 |parated |by comma|
|00002220| 73 3a 42 2d 2d 20 20 20 | 77 69 6e 64 6f 77 4e 61 |s:B-- |windowNa|
|00002230| 6d 65 2c 20 77 69 6e 64 | 6f 77 49 44 2c 20 70 61 |me, wind|owID, pa|
|00002240| 72 65 6e 74 57 69 6e 64 | 6f 77 49 44 2c 20 68 61 |rentWind|owID, ha|
|00002250| 73 43 68 69 6c 64 72 65 | 6e 2c 20 77 69 6e 64 6f |sChildre|n, windo|
|00002260| 77 54 79 70 65 50 2d 2d | 20 54 6f 70 2d 6c 65 76 |wTypeP--| Top-lev|
|00002270| 65 6c 20 77 69 6e 64 6f | 77 73 20 61 6c 77 61 79 |el windo|ws alway|
|00002280| 73 20 68 61 76 65 20 70 | 61 72 65 6e 74 49 44 20 |s have p|arentID |
|00002290| 30 2c 20 62 75 74 20 74 | 68 65 20 64 61 74 61 20 |0, but t|he data |
|000022a0| 66 6f 72 6d 61 74 20 72 | 65 74 75 72 6e 65 64 20 |format r|eturned |
|000022b0| 69 73 20 74 68 65 4e 2d | 2d 20 73 61 6d 65 20 64 |is theN-|- same d|
|000022c0| 61 74 61 20 66 6f 72 6d | 61 74 20 72 65 74 75 72 |ata form|at retur|
|000022d0| 6e 65 64 20 62 79 20 6d | 47 65 74 43 68 69 6c 64 |ned by m|GetChild|
|000022e0| 57 69 6e 64 6f 77 4c 69 | 73 74 2e 20 42 65 63 61 |WindowLi|st. Beca|
|000022f0| 75 73 65 20 77 69 6e 64 | 6f 77 4e 61 6d 65 73 20 |use wind|owNames |
|00002300| 6d 69 67 68 74 41 2d 2d | 20 63 6f 6e 74 61 69 6e |mightA--| contain|
|00002310| 20 63 6f 6d 6d 61 73 2c | 20 75 73 69 6e 67 20 6d | commas,| using m|
|00002320| 47 65 74 50 61 72 65 6e | 74 57 69 6e 64 6f 77 49 |GetParen|tWindowI|
|00002330| 44 73 20 69 73 20 6d 6f | 72 65 20 62 75 6c 6c 65 |Ds is mo|re bulle|
|00002340| 74 70 72 6f 6f 66 2e 15 | 53 20 6d 47 65 74 50 61 |tproof..|S mGetPa|
|00002350| 72 65 6e 74 57 69 6e 64 | 6f 77 49 44 73 4b 2d 2d |rentWind|owIDsK--|
|00002360| 20 52 65 74 75 72 6e 73 | 20 61 20 73 74 72 69 6e | Returns| a strin|
|00002370| 67 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 49 |g of the| windowI|
|00002380| 44 73 20 6f 66 20 61 6c | 6c 20 74 6f 70 2d 6c 65 |Ds of al|l top-le|
|00002390| 76 65 6c 20 77 69 6e 64 | 6f 77 73 2c 20 6f 6e 20 |vel wind|ows, on |
|000023a0| 6f 6e 65 20 6c 69 6e 65 | 2c 3f 2d 2d 20 73 65 70 |one line|,?-- sep|
|000023b0| 61 72 61 74 65 64 20 62 | 79 20 73 70 61 63 65 73 |arated b|y spaces|
|000023c0| 2e 20 55 73 65 20 27 77 | 6f 72 64 27 20 74 6f 20 |. Use 'w|ord' to |
|000023d0| 77 61 6c 6b 20 74 68 72 | 6f 75 67 68 20 74 68 65 |walk thr|ough the|
|000023e0| 20 72 65 73 75 6c 74 73 | 2e 20 53 49 20 6d 47 65 | results|. SI mGe|
|000023f0| 74 43 68 69 6c 64 57 69 | 6e 64 6f 77 4c 69 73 74 |tChildWi|ndowList|
|00002400| 2c 20 77 69 6e 64 6f 77 | 49 44 48 2d 2d 20 52 65 |, window|IDH-- Re|
|00002410| 74 75 72 6e 73 20 61 20 | 73 74 72 69 6e 67 20 6f |turns a |string o|
|00002420| 66 20 61 6c 6c 20 63 68 | 69 6c 64 20 77 69 6e 64 |f all ch|ild wind|
|00002430| 6f 77 73 20 6f 77 6e 65 | 64 20 62 79 20 74 68 65 |ows owne|d by the|
|00002440| 20 77 69 6e 64 6f 77 2c | 20 6f 6e 65 20 77 69 6e | window,| one win|
|00002450| 64 6f 77 4c 2d 2d 20 70 | 65 72 20 6c 69 6e 65 2c |dowL-- p|er line,|
|00002460| 20 77 69 74 68 20 74 68 | 65 20 66 6f 6c 6c 6f 77 | with th|e follow|
|00002470| 69 6e 67 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing info|rmation |
|00002480| 73 65 70 61 72 74 65 64 | 20 62 79 20 63 6f 6d 6d |separted| by comm|
|00002490| 61 73 20 6f 6e 20 65 61 | 63 68 20 6c 69 6e 65 3a |as on ea|ch line:|
|000024a0| 42 2d 2d 20 20 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |B-- wi|ndowName|
|000024b0| 2c 20 77 69 6e 64 6f 77 | 49 44 2c 20 70 61 72 65 |, window|ID, pare|
|000024c0| 6e 74 57 69 6e 64 6f 77 | 49 44 2c 20 68 61 73 43 |ntWindow|ID, hasC|
|000024d0| 68 69 6c 64 72 65 6e 2c | 20 77 69 6e 64 6f 77 54 |hildren,| windowT|
|000024e0| 79 70 65 46 2d 2d 20 53 | 69 6e 63 65 20 77 69 6e |ypeF-- S|ince win|
|000024f0| 64 6f 77 4e 61 6d 65 20 | 6d 69 67 68 74 20 63 6f |dowName |might co|
|00002500| 6e 74 61 69 6e 20 63 6f | 6d 6d 61 73 2c 20 6d 47 |ntain co|mmas, mG|
|00002510| 65 74 43 68 69 6c 64 57 | 69 6e 64 6f 77 49 44 73 |etChildW|indowIDs|
|00002520| 20 69 73 20 61 20 6d 6f | 72 65 30 2d 2d 20 62 75 | is a mo|re0-- bu|
|00002530| 6c 6c 65 74 70 72 6f 6f | 66 20 77 61 79 20 6f 66 |lletproo|f way of|
|00002540| 20 6c 69 73 74 69 6e 67 | 20 61 6c 6c 20 63 68 69 | listing| all chi|
|00002550| 6c 64 20 77 69 6e 64 6f | 77 73 2e 1f 53 49 20 6d |ld windo|ws..SI m|
|00002560| 47 65 74 43 68 69 6c 64 | 57 69 6e 64 6f 77 49 44 |GetChild|WindowID|
|00002570| 73 2c 20 77 69 6e 64 6f | 77 49 44 4a 2d 2d 20 52 |s, windo|wIDJ-- R|
|00002580| 65 74 75 72 6e 73 20 61 | 20 73 74 72 69 6e 67 20 |eturns a| string |
|00002590| 6f 66 20 61 6c 6c 20 63 | 68 69 6c 64 20 77 69 6e |of all c|hild win|
|000025a0| 64 6f 77 73 20 6f 77 6e | 65 64 20 62 79 20 74 68 |dows own|ed by th|
|000025b0| 65 20 77 69 6e 64 6f 77 | 2c 20 6f 6e 20 6f 6e 65 |e window|, on one|
|000025c0| 20 6c 69 6e 65 2c 3e 2d | 2d 20 73 65 70 61 72 61 | line,>-|- separa|
|000025d0| 74 65 64 20 62 79 20 73 | 70 61 63 65 73 2e 20 55 |ted by s|paces. U|
|000025e0| 73 65 20 27 77 6f 72 64 | 27 20 74 6f 20 77 61 6c |se 'word|' to wal|
|000025f0| 6b 20 74 68 6f 75 67 68 | 20 74 68 65 20 72 65 73 |k though| the res|
|00002600| 75 6c 74 73 2e 1a 49 49 | 20 6d 57 69 6e 64 6f 77 |ults..II| mWindow|
|00002610| 50 61 72 65 6e 74 2c 20 | 77 69 6e 64 6f 77 49 44 |Parent, |windowID|
|00002620| 4a 2d 2d 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |J-- Retu|rns the |
|00002630| 77 69 6e 64 6f 77 49 44 | 20 6f 66 20 74 68 65 20 |windowID| of the |
|00002640| 70 61 72 65 6e 74 20 6f | 66 20 74 68 65 20 73 75 |parent o|f the su|
|00002650| 70 70 6c 69 65 64 20 77 | 69 6e 64 6f 77 20 28 30 |pplied w|indow (0|
|00002660| 20 69 66 20 69 74 27 73 | 20 61 2e 43 2d 2d 20 74 | if it's| a.C-- t|
|00002670| 6f 70 2d 6c 65 76 65 6c | 20 77 69 6e 64 6f 77 2c |op-level| window,|
|00002680| 20 6f 72 20 2d 31 20 69 | 66 20 74 68 65 20 73 75 | or -1 i|f the su|
|00002690| 70 70 6c 69 65 64 20 77 | 69 6e 64 6f 77 49 44 20 |pplied w|indowID |
|000026a0| 63 61 6e 27 74 20 62 65 | 20 66 6f 75 6e 64 2e 1d |can't be| found..|
|000026b0| 49 49 20 6d 47 65 74 57 | 69 6e 64 6f 77 50 61 72 |II mGetW|indowPar|
|000026c0| 65 6e 74 2c 20 77 69 6e | 64 6f 77 49 44 46 2d 2d |ent, win|dowIDF--|
|000026d0| 20 53 79 6e 6f 6e 79 6d | 20 66 6f 72 20 6d 57 69 | Synonym| for mWi|
|000026e0| 6e 64 6f 77 50 61 72 65 | 6e 74 2c 20 66 6f 72 20 |ndowPare|nt, for |
|000026f0| 63 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 20 77 69 |compatib|ility wi|
|00002700| 74 68 20 65 61 72 6c 69 | 65 72 20 72 65 6c 65 61 |th earli|er relea|
|00002710| 73 65 73 2e 24 49 49 20 | 6d 47 65 74 48 69 67 68 |ses.$II |mGetHigh|
|00002720| 65 73 74 57 69 6e 64 6f | 77 50 61 72 65 6e 74 2c |estWindo|wParent,|
|00002730| 20 77 69 6e 64 6f 77 49 | 44 47 2d 2d 20 52 65 74 | windowI|DG-- Ret|
|00002740| 75 72 6e 73 20 74 68 65 | 20 77 69 6e 64 6f 77 49 |urns the| windowI|
|00002750| 44 20 6f 66 20 74 68 65 | 20 74 6f 70 20 6c 65 76 |D of the| top lev|
|00002760| 65 6c 20 70 61 72 65 6e | 74 2c 20 63 6c 69 6d 62 |el paren|t, climb|
|00002770| 69 6e 67 20 74 68 65 20 | 68 65 69 72 61 72 63 68 |ing the |heirarch|
|00002780| 79 4f 2d 2d 20 6f 66 20 | 77 69 6e 64 6f 77 20 6f |yO-- of |window o|
|00002790| 77 6e 65 72 73 68 69 70 | 20 61 73 20 66 61 72 20 |wnership| as far |
|000027a0| 62 61 63 6b 77 61 72 64 | 73 20 61 73 20 70 6f 73 |backward|s as pos|
|000027b0| 73 69 62 6c 65 2e 20 52 | 65 74 75 72 6e 73 20 2d |sible. R|eturns -|
|000027c0| 31 20 69 66 20 74 68 65 | 20 73 75 70 70 6c 69 65 |1 if the| supplie|
|000027d0| 64 50 2d 2d 20 77 69 6e | 64 6f 77 49 44 20 63 61 |dP-- win|dowID ca|
|000027e0| 6e 27 74 20 62 65 20 66 | 6f 75 6e 64 3b 20 72 65 |n't be f|ound; re|
|000027f0| 74 75 72 6e 73 20 74 68 | 65 20 73 75 70 70 6c 69 |turns th|e suppli|
|00002800| 65 64 20 77 69 6e 64 6f | 77 49 44 20 66 6f 72 20 |ed windo|wID for |
|00002810| 74 6f 70 2d 6c 65 76 65 | 6c 20 77 69 6e 64 6f 77 |top-leve|l window|
|00002820| 73 2e 15 49 20 6d 44 69 | 72 65 63 74 6f 72 4d 61 |s..I mDi|rectorMa|
|00002830| 69 6e 57 69 6e 64 6f 77 | 4e 2d 2d 20 52 65 74 75 |inWindow|N-- Retu|
|00002840| 72 6e 73 20 74 68 65 20 | 6d 61 69 6e 20 77 69 6e |rns the |main win|
|00002850| 64 6f 77 49 44 20 6f 66 | 20 44 69 72 65 63 74 6f |dowID of| Directo|
|00002860| 72 20 6f 72 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |r or the| project|
|00002870| 6f 72 2e 20 4f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |or. On t|he Mac, |
|00002880| 74 68 69 73 20 69 73 4b | 2d 2d 20 74 68 65 20 73 |this isK|-- the s|
|00002890| 61 6d 65 20 77 69 6e 64 | 6f 77 20 61 73 20 74 68 |ame wind|ow as th|
|000028a0| 65 20 73 74 61 67 65 20 | 69 74 73 65 6c 66 2e 20 |e stage |itself. |
|000028b0| 53 65 65 20 6e 6f 74 65 | 73 20 66 6f 72 20 6d 44 |See note|s for mD|
|000028c0| 69 72 65 63 74 6f 72 53 | 74 61 67 65 57 69 6e 64 |irectorS|tageWind|
|000028d0| 6f 77 2e 16 49 20 6d 44 | 69 72 65 63 74 6f 72 53 |ow..I mD|irectorS|
|000028e0| 74 61 67 65 57 69 6e 64 | 6f 77 4e 2d 2d 20 52 65 |tageWind|owN-- Re|
|000028f0| 74 75 72 6e 73 20 74 68 | 65 20 77 69 6e 64 6f 77 |turns th|e window|
|00002900| 49 44 20 6f 66 20 74 68 | 65 20 44 69 72 65 63 74 |ID of th|e Direct|
|00002910| 6f 72 20 6f 72 20 70 72 | 6f 6a 65 63 74 6f 72 20 |or or pr|ojector |
|00002920| 73 74 61 67 65 2e 20 4f | 6e 20 74 68 65 20 4d 61 |stage. O|n the Ma|
|00002930| 63 2c 74 68 69 73 20 69 | 73 4d 2d 2d 20 74 68 65 |c,this i|sM-- the|
|00002940| 20 73 61 6d 65 20 77 69 | 6e 64 6f 77 20 61 73 20 | same wi|ndow as |
|00002950| 74 68 65 20 6f 6e 65 20 | 72 65 74 75 72 6e 65 64 |the one |returned|
|00002960| 20 62 79 20 6d 44 69 72 | 65 63 74 6f 72 4d 61 69 | by mDir|ectorMai|
|00002970| 6e 57 69 6e 64 6f 77 2e | 20 4e 6f 74 65 20 74 68 |nWindow.| Note th|
|00002980| 61 74 20 74 68 69 73 4b | 2d 2d 20 77 69 6e 64 6f |at thisK|-- windo|
|00002990| 77 49 44 20 63 61 6e 20 | 63 68 61 6e 67 65 20 69 |wID can |change i|
|000029a0| 66 20 74 68 65 20 6d 6f | 6e 69 74 6f 72 20 63 6f |f the mo|nitor co|
|000029b0| 6c 6f 72 20 64 65 70 74 | 68 20 6f 72 20 73 69 7a |lor dept|h or siz|
|000029c0| 65 20 69 73 20 63 68 61 | 6e 67 65 64 20 6c 61 74 |e is cha|nged lat|
|000029d0| 65 72 2e 48 2d 2d 20 59 | 6f 75 20 63 61 6e 20 64 |er.H-- Y|ou can d|
|000029e0| 65 74 65 63 74 20 74 68 | 69 73 20 77 69 74 68 20 |etect th|is with |
|000029f0| 6d 57 69 6e 64 6f 77 45 | 78 69 73 74 73 2c 20 61 |mWindowE|xists, a|
|00002a00| 6e 64 20 79 6f 75 20 63 | 61 6e 20 67 65 74 20 74 |nd you c|an get t|
|00002a10| 68 65 20 6e 65 77 20 73 | 74 61 67 65 4d 2d 2d 20 |he new s|tageM-- |
|00002a20| 77 69 6e 64 6f 77 20 62 | 79 20 63 72 65 61 74 69 |window b|y creati|
|00002a30| 6e 67 20 61 20 6e 65 77 | 20 4d 61 73 74 65 72 41 |ng a new| MasterA|
|00002a40| 70 70 20 69 6e 73 74 61 | 6e 63 65 20 61 6e 64 20 |pp insta|nce and |
|00002a50| 75 73 69 6e 67 20 6d 44 | 69 72 65 63 74 6f 72 53 |using mD|irectorS|
|00002a60| 74 61 67 65 57 69 6e 64 | 6f 77 4a 2d 2d 20 77 69 |tageWind|owJ-- wi|
|00002a70| 74 68 20 74 68 61 74 20 | 69 6e 73 74 61 6e 63 65 |th that |instance|
|00002a80| 2e 20 4e 6f 74 65 20 74 | 68 61 74 20 74 61 73 6b |. Note t|hat task|
|00002a90| 49 44 73 2c 20 6d 6f 64 | 75 6c 65 49 44 73 20 61 |IDs, mod|uleIDs a|
|00002aa0| 6e 64 20 69 6e 73 74 61 | 6e 63 65 49 44 73 20 63 |nd insta|nceIDs c|
|00002ab0| 61 6e 20 62 65 49 2d 2d | 20 64 69 66 66 65 72 65 |an beI--| differe|
|00002ac0| 6e 74 20 69 6e 20 61 20 | 6e 65 77 20 4d 61 73 74 |nt in a |new Mast|
|00002ad0| 65 72 41 70 70 20 6f 62 | 6a 65 63 74 2d 2d 20 74 |erApp ob|ject-- t|
|00002ae0| 68 65 73 65 20 49 44 73 | 20 61 72 65 20 75 6e 69 |hese IDs| are uni|
|00002af0| 71 75 65 20 70 65 72 2d | 6f 62 6a 65 63 74 2e 18 |que per-|object..|
|00002b00| 53 49 20 6d 57 69 6e 64 | 6f 77 4e 61 6d 65 2c 20 |SI mWind|owName, |
|00002b10| 77 69 6e 64 6f 77 49 44 | 34 2d 2d 20 52 65 74 75 |windowID|4-- Retu|
|00002b20| 72 6e 73 20 74 68 65 20 | 77 69 6e 64 6f 77 20 6e |rns the |window n|
|00002b30| 61 6d 65 20 6f 66 20 74 | 68 65 20 73 75 70 70 6c |ame of t|he suppl|
|00002b40| 69 65 64 20 77 69 6e 64 | 6f 77 49 44 2e 1b 53 49 |ied wind|owID..SI|
|00002b50| 20 6d 47 65 74 57 69 6e | 64 6f 77 4e 61 6d 65 2c | mGetWin|dowName,|
|00002b60| 20 77 69 6e 64 6f 77 49 | 44 44 2d 2d 20 53 79 6e | windowI|DD-- Syn|
|00002b70| 6f 6e 79 6d 20 66 6f 72 | 20 6d 57 69 6e 64 6f 77 |onym for| mWindow|
|00002b80| 4e 61 6d 65 2c 20 66 6f | 72 20 63 6f 6d 70 61 74 |Name, fo|r compat|
|00002b90| 69 62 69 6c 69 74 79 20 | 77 69 74 68 20 65 61 72 |ibility |with ear|
|00002ba0| 6c 69 65 72 20 72 65 6c | 65 61 73 65 73 2e 25 49 |lier rel|eases.%I|
|00002bb0| 49 53 20 6d 53 65 74 57 | 69 6e 64 6f 77 4e 61 6d |IS mSetW|indowNam|
|00002bc0| 65 2c 20 77 69 6e 64 6f | 77 49 44 2c 20 6e 65 77 |e, windo|wID, new|
|00002bd0| 54 65 78 74 4f 2d 2d 20 | 53 65 74 73 20 74 68 65 |TextO-- |Sets the|
|00002be0| 20 77 69 6e 64 6f 77 27 | 73 20 6e 61 6d 65 2e 20 | window'|s name. |
|00002bf0| 4e 6f 74 65 3a 20 74 68 | 69 73 20 6d 61 79 20 68 |Note: th|is may h|
|00002c00| 61 76 65 20 73 69 64 65 | 20 65 66 66 65 63 74 73 |ave side| effects|
|00002c10| 20 69 66 20 74 68 65 20 | 61 70 70 20 64 6f 65 73 | if the |app does|
|00002c20| 20 6e 6f 74 54 2d 2d 20 | 65 78 70 65 63 74 20 74 | notT-- |expect t|
|00002c30| 68 65 20 77 69 6e 64 6f | 77 27 73 20 6e 61 6d 65 |he windo|w's name|
|00002c40| 20 74 6f 20 63 68 61 6e | 67 65 2e 20 54 65 73 74 | to chan|ge. Test|
|00002c50| 69 6e 67 20 69 73 20 72 | 65 71 75 69 72 65 64 21 |ing is r|equired!|
|00002c60| 20 52 65 74 75 72 6e 73 | 20 30 20 69 66 20 73 75 | Returns| 0 if su|
|00002c70| 63 63 65 73 73 66 75 6c | 2c 47 2d 2d 20 6f 72 20 |ccessful|,G-- or |
|00002c80| 6e 6f 6e 2d 7a 65 72 6f | 20 69 66 20 61 6e 20 65 |non-zero| if an e|
|00002c90| 72 72 6f 72 20 6f 63 63 | 75 72 73 20 28 74 79 70 |rror occ|urs (typ|
|00002ca0| 69 63 61 6c 6c 79 2c 20 | 61 20 62 61 64 20 77 69 |ically, |a bad wi|
|00002cb0| 6e 64 6f 77 49 44 20 73 | 75 70 70 6c 69 65 64 29 |ndowID s|upplied)|
|00002cc0| 2e 1f 49 49 20 6d 57 69 | 6e 64 6f 77 48 61 73 43 |..II mWi|ndowHasC|
|00002cd0| 68 69 6c 64 72 65 6e 2c | 20 77 69 6e 64 6f 77 49 |hildren,| windowI|
|00002ce0| 44 3e 2d 2d 20 52 65 74 | 75 72 6e 73 20 54 52 55 |D>-- Ret|urns TRU|
|00002cf0| 45 20 69 66 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |E if the| window |
|00002d00| 68 61 73 20 63 68 69 6c | 64 20 77 69 6e 64 6f 77 |has chil|d window|
|00002d10| 73 2c 20 66 61 6c 73 65 | 20 69 66 20 6e 6f 74 2e |s, false| if not.|
|00002d20| 18 53 49 20 6d 57 69 6e | 64 6f 77 54 79 70 65 2c |.SI mWin|dowType,|
|00002d30| 20 77 69 6e 64 6f 77 49 | 44 55 2d 2d 20 52 65 74 | windowI|DU-- Ret|
|00002d40| 75 72 6e 73 20 74 68 65 | 20 74 79 70 65 20 6f 66 |urns the| type of|
|00002d50| 20 77 69 6e 64 6f 77 2e | 20 4f 6e 20 74 68 65 20 | window.| On the |
|00002d60| 4d 61 63 2c 20 74 68 69 | 73 20 69 73 20 61 6c 77 |Mac, thi|s is alw|
|00002d70| 61 79 73 20 61 6e 20 69 | 6e 74 65 67 65 72 2c 20 |ays an i|nteger, |
|00002d80| 62 75 74 20 74 68 69 73 | 20 6d 65 74 68 6f 64 51 |but this| methodQ|
|00002d90| 2d 2d 20 72 65 74 75 72 | 6e 73 20 61 20 73 74 72 |-- retur|ns a str|
|00002da0| 69 6e 67 20 6f 66 20 74 | 68 65 20 69 6e 74 65 67 |ing of t|he integ|
|00002db0| 65 72 2c 20 66 6f 72 20 | 63 6f 6d 70 61 74 69 62 |er, for |compatib|
|00002dc0| 69 6c 69 74 79 20 77 69 | 74 68 20 74 68 65 20 57 |ility wi|th the W|
|00002dd0| 69 6e 20 76 65 72 73 69 | 6f 6e 20 28 77 68 65 72 |in versi|on (wher|
|00002de0| 65 54 2d 2d 20 77 69 6e | 64 6f 77 54 79 70 65 73 |eT-- win|dowTypes|
|00002df0| 20 63 61 6e 20 62 65 20 | 73 74 72 69 6e 67 73 29 | can be |strings)|
|00002e00| 2e 20 52 65 74 75 72 6e | 73 20 45 4d 50 54 59 20 |. Return|s EMPTY |
|00002e10| 69 66 20 74 68 65 20 73 | 75 70 70 6c 69 65 64 20 |if the s|upplied |
|00002e20| 77 69 6e 64 6f 77 49 44 | 20 69 73 20 6e 6f 74 20 |windowID| is not |
|00002e30| 76 61 6c 69 64 2e 1b 53 | 49 20 6d 47 65 74 57 69 |valid..S|I mGetWi|
|00002e40| 6e 64 6f 77 54 79 70 65 | 2c 20 77 69 6e 64 6f 77 |ndowType|, window|
|00002e50| 49 44 44 2d 2d 20 53 79 | 6e 6f 6e 79 6d 20 66 6f |IDD-- Sy|nonym fo|
|00002e60| 72 20 6d 57 69 6e 64 6f | 77 54 79 70 65 2c 20 66 |r mWindo|wType, f|
|00002e70| 6f 72 20 63 6f 6d 70 61 | 74 69 62 69 6c 69 74 79 |or compa|tibility|
|00002e80| 20 77 69 74 68 20 65 61 | 72 6c 69 65 72 20 72 65 | with ea|rlier re|
|00002e90| 6c 65 61 73 65 73 2e 1d | 49 49 20 6d 57 69 6e 64 |leases..|II mWind|
|00002ea0| 6f 77 49 73 56 69 73 69 | 62 6c 65 2c 20 77 69 6e |owIsVisi|ble, win|
|00002eb0| 64 6f 77 49 44 4c 2d 2d | 20 52 65 74 75 72 6e 73 |dowIDL--| Returns|
|00002ec0| 20 54 52 55 45 20 69 66 | 20 74 68 65 20 77 69 6e | TRUE if| the win|
|00002ed0| 64 6f 77 20 69 73 20 64 | 69 73 70 6c 61 79 65 64 |dow is d|isplayed|
|00002ee0| 20 28 62 75 74 20 70 6f | 73 73 69 62 6c 79 20 6f | (but po|ssibly o|
|00002ef0| 62 73 63 75 72 65 64 29 | 2c 20 6f 72 20 46 41 4c |bscured)|, or FAL|
|00002f00| 53 45 12 2d 2d 20 69 66 | 20 69 74 27 73 20 68 69 |SE.-- if| it's hi|
|00002f10| 64 64 65 6e 2e 12 49 20 | 6d 47 65 74 41 63 74 69 |dden..I |mGetActi|
|00002f20| 76 65 57 69 6e 64 6f 77 | 54 2d 2d 20 52 65 74 75 |veWindow|T-- Retu|
|00002f30| 72 6e 73 20 77 69 6e 64 | 6f 77 49 44 20 6f 66 20 |rns wind|owID of |
|00002f40| 74 68 65 20 66 72 6f 6e | 74 6d 6f 73 74 20 77 69 |the fron|tmost wi|
|00002f50| 6e 64 6f 77 20 28 30 20 | 69 66 20 6e 6f 20 77 69 |ndow (0 |if no wi|
|00002f60| 6e 64 6f 77 73 20 61 72 | 65 20 76 69 73 69 62 6c |ndows ar|e visibl|
|00002f70| 65 20 6f 72 20 61 63 74 | 69 76 65 29 2e 49 2d 2d |e or act|ive).I--|
|00002f80| 20 4e 6f 74 65 3a 20 74 | 68 69 73 20 6f 6e 6c 79 | Note: t|his only|
|00002f90| 20 61 70 70 6c 69 65 73 | 20 74 6f 20 77 69 6e 64 | applies| to wind|
|00002fa0| 6f 77 73 20 6f 77 6e 65 | 64 20 62 79 20 74 68 65 |ows owne|d by the|
|00002fb0| 20 44 69 72 65 63 74 6f | 72 20 74 61 73 6b 2e 20 | Directo|r task. |
|00002fc0| 55 73 75 61 6c 6c 79 50 | 2d 2d 20 72 65 74 75 72 |UsuallyP|-- retur|
|00002fd0| 6e 73 20 74 68 65 20 73 | 61 6d 65 20 77 69 6e 64 |ns the s|ame wind|
|00002fe0| 6f 77 20 61 73 20 6d 44 | 69 72 65 63 74 6f 72 53 |ow as mD|irectorS|
|00002ff0| 74 61 67 65 57 69 6e 64 | 6f 77 20 69 6e 20 70 72 |tageWind|ow in pr|
|00003000| 6f 6a 65 63 74 6f 72 73 | 2c 20 62 75 74 20 63 6f |ojectors|, but co|
|00003010| 75 6c 64 20 61 6c 73 6f | 4b 2d 2d 20 72 65 74 75 |uld also|K-- retu|
|00003020| 72 6e 20 61 75 74 68 6f | 72 69 6e 67 2d 74 69 6d |rn autho|ring-tim|
|00003030| 65 20 77 69 6e 64 6f 77 | 73 2c 20 4d 49 41 57 73 |e window|s, MIAWs|
|00003040| 2c 20 6f 72 20 58 74 72 | 61 2d 20 6f 72 20 58 4f |, or Xtr|a- or XO|
|00003050| 62 6a 65 63 74 2d 6f 77 | 6e 65 64 20 77 69 6e 64 |bject-ow|ned wind|
|00003060| 6f 77 73 2e 1d 49 49 20 | 6d 53 65 74 41 63 74 69 |ows..II |mSetActi|
|00003070| 76 65 57 69 6e 64 6f 77 | 2c 20 77 69 6e 64 6f 77 |veWindow|, window|
|00003080| 49 44 51 2d 2d 20 53 65 | 74 73 20 74 68 65 20 77 |IDQ-- Se|ts the w|
|00003090| 69 6e 64 6f 77 20 74 6f | 20 62 65 20 74 68 65 20 |indow to| be the |
|000030a0| 66 72 6f 6e 74 6d 6f 73 | 74 2c 20 61 63 74 69 76 |frontmos|t, activ|
|000030b0| 65 20 77 69 6e 64 6f 77 | 20 28 6d 61 6b 69 6e 67 |e window| (making|
|000030c0| 20 69 74 20 76 69 73 69 | 62 6c 65 2c 20 69 66 20 | it visi|ble, if |
|000030d0| 69 74 27 73 56 2d 2d 20 | 68 69 64 64 65 6e 29 2e |it'sV-- |hidden).|
|000030e0| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 70 72 65 | Returns| the pre|
|000030f0| 76 69 6f 75 73 6c 79 20 | 61 63 74 69 76 65 20 77 |viously |active w|
|00003100| 69 6e 64 6f 77 2e 20 4e | 6f 74 65 20 31 3a 20 44 |indow. N|ote 1: D|
|00003110| 69 72 65 63 74 6f 72 20 | 6e 6f 72 6d 61 6c 6c 79 |irector |normally|
|00003120| 20 65 78 70 65 63 74 73 | 20 74 6f 49 2d 2d 20 61 | expects| toI-- a|
|00003130| 63 74 69 76 61 74 65 20 | 69 74 73 20 6f 77 6e 20 |ctivate |its own |
|00003140| 77 69 6e 64 6f 77 73 2c | 20 61 6e 64 20 69 74 73 |windows,| and its|
|00003150| 20 6e 6f 74 69 6f 6e 20 | 6f 66 20 77 68 69 63 68 | notion |of which|
|00003160| 20 77 69 6e 64 6f 77 20 | 69 73 20 61 63 74 69 76 | window |is activ|
|00003170| 65 20 6f 72 20 4e 2d 2d | 20 66 72 6f 6e 74 6d 6f |e or N--| frontmo|
|00003180| 73 74 20 6d 61 79 20 67 | 65 74 20 27 6f 75 74 20 |st may g|et 'out |
|00003190| 6f 66 20 73 79 6e 63 27 | 20 77 68 65 6e 20 75 73 |of sync'| when us|
|000031a0| 69 6e 67 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |ing this| command|
|000031b0| 2e 20 53 65 6e 64 69 6e | 67 20 66 61 6b 65 20 6d |. Sendin|g fake m|
|000031c0| 6f 75 73 65 51 2d 2d 20 | 63 6c 69 63 6b 73 20 69 |ouseQ-- |clicks i|
|000031d0| 6e 73 74 65 61 64 20 6d | 61 79 20 61 76 6f 69 64 |nstead m|ay avoid|
|000031e0| 20 74 68 69 73 2e 20 4e | 6f 74 65 20 32 3a 20 74 | this. N|ote 2: t|
|000031f0| 68 69 73 20 6d 65 74 68 | 6f 64 20 6f 6e 6c 79 20 |his meth|od only |
|00003200| 61 70 70 6c 69 65 73 20 | 74 6f 20 74 68 65 20 63 |applies |to the c|
|00003210| 75 72 72 65 6e 74 57 2d | 2d 20 44 69 72 65 63 74 |urrentW-|- Direct|
|00003220| 6f 72 20 74 61 73 6b 2d | 2d 20 75 73 65 20 6d 57 |or task-|- use mW|
|00003230| 69 6e 64 6f 77 54 6f 46 | 72 6f 6e 74 20 77 69 74 |indowToF|ront wit|
|00003240| 68 20 6f 74 68 65 72 20 | 61 70 70 6c 69 63 61 74 |h other |applicat|
|00003250| 69 6f 6e 73 2e 20 4e 6f | 74 65 20 33 3a 20 74 68 |ions. No|te 3: th|
|00003260| 69 73 20 6d 65 74 68 6f | 64 20 77 69 6c 6c 4b 2d |is metho|d willK-|
|00003270| 2d 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |- automa|tically |
|00003280| 62 72 69 6e 67 20 74 68 | 65 20 44 69 72 65 63 74 |bring th|e Direct|
|00003290| 6f 72 20 74 61 73 6b 20 | 74 6f 20 74 68 65 20 66 |or task |to the f|
|000032a0| 72 6f 6e 74 2c 20 69 66 | 20 69 74 27 73 20 6e 6f |ront, if| it's no|
|000032b0| 74 20 61 6c 72 65 61 64 | 79 2e 19 49 20 6d 47 65 |t alread|y..I mGe|
|000032c0| 74 4b 65 79 62 6f 61 72 | 64 49 6e 70 75 74 57 69 |tKeyboar|dInputWi|
|000032d0| 6e 64 6f 77 51 2d 2d 20 | 4f 6e 20 57 69 6e 64 6f |ndowQ-- |On Windo|
|000032e0| 77 73 2c 20 74 68 69 73 | 20 69 73 20 61 20 64 69 |ws, this| is a di|
|000032f0| 73 74 69 6e 63 74 20 73 | 79 73 74 65 6d 20 63 61 |stinct s|ystem ca|
|00003300| 6c 6c 2e 20 4f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |ll. On t|he Mac, |
|00003310| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 73 75 63 68 |there is| no such|
|00003320| 20 63 61 6c 6c 2c 44 2d | 2d 20 73 6f 20 74 68 69 | call,D-|- so thi|
|00003330| 73 20 6d 65 74 68 6f 64 | 20 69 73 20 6a 75 73 74 |s method| is just|
|00003340| 20 61 20 73 79 6e 6f 6e | 79 6d 20 66 6f 72 20 6d | a synon|ym for m|
|00003350| 47 65 74 41 63 74 69 76 | 65 57 69 6e 64 6f 77 20 |GetActiv|eWindow |
|00003360| 6f 6e 20 74 68 65 20 4d | 61 63 2e 24 49 49 20 6d |on the M|ac.$II m|
|00003370| 53 65 74 4b 65 79 62 6f | 61 72 64 49 6e 70 75 74 |SetKeybo|ardInput|
|00003380| 57 69 6e 64 6f 77 2c 20 | 77 69 6e 64 6f 77 49 44 |Window, |windowID|
|00003390| 54 2d 2d 20 4f 6e 20 57 | 69 6e 64 6f 77 73 2c 20 |T-- On W|indows, |
|000033a0| 74 68 69 73 20 69 73 20 | 61 20 64 69 73 74 69 6e |this is |a distin|
|000033b0| 63 74 20 73 79 73 74 65 | 6d 20 63 61 6c 6c 2c 20 |ct syste|m call, |
|000033c0| 77 69 74 68 20 6e 6f 20 | 4d 61 63 20 65 71 75 69 |with no |Mac equi|
|000033d0| 76 61 6c 65 6e 74 3b 20 | 74 68 65 72 65 66 6f 72 |valent; |therefor|
|000033e0| 65 2c 20 6f 6e 40 2d 2d | 20 74 68 65 20 4d 61 63 |e, on@--| the Mac|
|000033f0| 2c 20 74 68 69 73 20 6d | 65 74 68 6f 64 20 69 73 |, this m|ethod is|
|00003400| 20 6a 75 73 74 20 61 20 | 73 79 6e 6f 6e 79 6d 6e | just a |synonymn|
|00003410| 20 66 6f 72 20 6d 53 65 | 74 41 63 74 69 76 65 57 | for mSe|tActiveW|
|00003420| 69 6e 64 6f 77 2e 1f 49 | 49 20 6d 43 61 70 74 75 |indow..I|I mCaptu|
|00003430| 72 65 4d 6f 75 73 65 49 | 6e 70 75 74 2c 20 77 69 |reMouseI|nput, wi|
|00003440| 6e 64 6f 77 49 44 51 2d | 2d 20 4f 6e 20 57 69 6e |ndowIDQ-|- On Win|
|00003450| 64 6f 77 73 2c 20 74 68 | 69 73 20 69 73 20 61 20 |dows, th|is is a |
|00003460| 64 69 73 74 69 6e 63 74 | 20 73 79 73 74 65 6d 20 |distinct| system |
|00003470| 63 61 6c 6c 2e 20 4f 6e | 20 74 68 65 20 4d 61 63 |call. On| the Mac|
|00003480| 2c 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 73 75 |, there |is no su|
|00003490| 63 68 20 63 61 6c 6c 2c | 44 2d 2d 20 73 6f 20 74 |ch call,|D-- so t|
|000034a0| 68 69 73 20 6d 65 74 68 | 6f 64 20 69 73 20 6a 75 |his meth|od is ju|
|000034b0| 73 74 20 61 20 73 79 6e | 6f 6e 79 6d 20 66 6f 72 |st a syn|onym for|
|000034c0| 20 6d 53 65 74 41 63 74 | 69 76 65 57 69 6e 64 6f | mSetAct|iveWindo|
|000034d0| 77 20 6f 6e 20 74 68 65 | 20 4d 61 63 2e 14 58 20 |w on the| Mac..X |
|000034e0| 6d 52 65 6c 65 61 73 65 | 4d 6f 75 73 65 49 6e 70 |mRelease|MouseInp|
|000034f0| 75 74 54 2d 2d 20 4f 6e | 20 74 68 65 20 4d 61 63 |utT-- On| the Mac|
|00003500| 2c 20 74 68 69 73 20 6d | 65 74 68 6f 64 20 64 6f |, this m|ethod do|
|00003510| 65 73 20 6e 6f 74 68 69 | 6e 67 2c 20 62 65 63 61 |es nothi|ng, beca|
|00003520| 75 73 65 20 74 68 65 72 | 65 27 73 20 6e 6f 20 4d |use ther|e's no M|
|00003530| 61 63 20 65 71 75 69 76 | 61 6c 65 6e 74 20 66 6f |ac equiv|alent fo|
|00003540| 72 20 74 68 69 73 2e 17 | 2d 2d 20 57 69 6e 64 6f |r this..|-- Windo|
|00003550| 77 73 20 73 79 73 74 65 | 6d 20 63 61 6c 6c 2e 25 |ws syste|m call.%|
|00003560| 49 49 20 6d 47 65 74 50 | 61 72 65 6e 74 57 69 6e |II mGetP|arentWin|
|00003570| 64 6f 77 54 6f 70 43 68 | 69 6c 64 2c 20 77 69 6e |dowTopCh|ild, win|
|00003580| 64 6f 77 49 44 51 2d 2d | 20 57 69 6e 64 6f 77 73 |dowIDQ--| Windows|
|00003590| 20 61 72 63 68 69 74 65 | 63 74 75 72 65 20 64 69 | archite|cture di|
|000035a0| 66 66 65 72 73 20 66 72 | 6f 6d 20 4d 61 63 20 61 |ffers fr|om Mac a|
|000035b0| 72 63 68 69 74 65 63 74 | 75 72 65 2e 20 4f 6e 20 |rchitect|ure. On |
|000035c0| 57 69 6e 64 6f 77 73 2c | 20 65 61 63 68 20 61 70 |Windows,| each ap|
|000035d0| 70 20 68 61 73 20 61 55 | 2d 2d 20 70 61 72 65 6e |p has aU|-- paren|
|000035e0| 74 20 77 69 6e 64 6f 77 | 20 77 68 69 63 68 20 6d |t window| which m|
|000035f0| 61 79 20 63 6f 6e 74 61 | 69 6e 20 6f 74 68 65 72 |ay conta|in other|
|00003600| 20 77 69 6e 64 6f 77 73 | 20 28 65 6e 74 69 72 65 | windows| (entire|
|00003610| 6c 79 20 77 69 74 68 69 | 6e 20 74 68 65 20 70 61 |ly withi|n the pa|
|00003620| 72 65 6e 74 29 2e 20 4f | 6e 20 74 68 65 53 2d 2d |rent). O|n theS--|
|00003630| 20 4d 61 63 2c 20 70 61 | 72 65 6e 74 20 77 69 6e | Mac, pa|rent win|
|00003640| 64 6f 77 73 20 6d 61 79 | 20 61 70 70 65 61 72 20 |dows may| appear |
|00003650| 61 6e 79 77 68 65 72 65 | 20 6f 6e 20 74 68 65 20 |anywhere| on the |
|00003660| 64 65 73 6b 74 6f 70 2c | 20 61 6e 64 20 64 6f 6e |desktop,| and don|
|00003670| 27 74 20 6f 77 6e 20 73 | 75 62 77 69 6e 64 6f 77 |'t own s|ubwindow|
|00003680| 73 53 2d 2d 20 70 65 72 | 20 73 65 2d 2d 20 70 65 |sS-- per| se-- pe|
|00003690| 72 68 61 70 73 20 73 6f | 6d 65 20 63 6f 6e 74 72 |rhaps so|me contr|
|000036a0| 6f 6c 73 20 77 69 74 68 | 69 6e 20 74 68 65 20 77 |ols with|in the w|
|000036b0| 69 6e 64 6f 77 2c 20 62 | 75 74 20 74 68 65 73 65 |indow, b|ut these|
|000036c0| 20 63 6f 6e 74 72 6f 6c | 73 20 64 6f 20 6e 6f 74 | control|s do not|
|000036d0| 20 68 61 76 65 50 2d 2d | 20 61 6e 79 20 66 72 6f | haveP--| any fro|
|000036e0| 6e 74 2d 74 6f 2d 62 61 | 63 6b 20 6c 61 79 65 72 |nt-to-ba|ck layer|
|000036f0| 69 6e 67 2e 20 4f 6e 20 | 74 68 65 20 4d 61 63 2c |ing. On |the Mac,|
|00003700| 20 74 68 65 72 65 66 6f | 72 65 2c 20 74 68 69 73 | therefo|re, this|
|00003710| 20 6d 65 74 68 6f 64 20 | 73 69 6d 70 6c 79 20 72 | method |simply r|
|00003720| 65 74 75 72 6e 73 47 2d | 2d 20 74 68 65 20 66 69 |eturnsG-|- the fi|
|00003730| 72 73 74 20 63 6f 6e 74 | 72 6f 6c 20 6f 77 6e 65 |rst cont|rol owne|
|00003740| 64 20 62 79 20 61 20 77 | 69 6e 64 6f 77 20 28 6f |d by a w|indow (o|
|00003750| 72 20 30 20 69 66 20 74 | 68 65 72 65 20 61 72 65 |r 0 if t|here are|
|00003760| 20 6e 6f 20 63 6f 6e 74 | 72 6f 6c 73 29 2e 13 49 | no cont|rols)..I|
|00003770| 20 6d 47 65 74 44 65 73 | 6b 74 6f 70 57 69 6e 64 | mGetDes|ktopWind|
|00003780| 6f 77 4f 2d 2d 20 52 65 | 74 75 72 6e 73 20 74 68 |owO-- Re|turns th|
|00003790| 65 20 77 69 6e 64 6f 77 | 49 44 20 6f 66 20 74 68 |e window|ID of th|
|000037a0| 65 20 4d 61 63 20 64 65 | 73 6b 74 6f 70 20 69 74 |e Mac de|sktop it|
|000037b0| 73 65 6c 66 20 28 77 68 | 69 63 68 20 69 6e 63 6c |self (wh|ich incl|
|000037c0| 75 64 65 73 20 61 6c 6c | 20 73 63 72 65 65 6e 73 |udes all| screens|
|000037d0| 29 2e 4e 2d 2d 20 44 69 | 72 65 63 74 6f 72 20 35 |).N-- Di|rector 5|
|000037e0| 20 75 73 65 72 73 20 6d | 61 79 20 70 72 65 66 65 | users m|ay prefe|
|000037f0| 72 20 74 6f 20 75 73 65 | 20 74 68 65 20 62 75 69 |r to use| the bui|
|00003800| 6c 74 2d 69 6e 20 4c 69 | 6e 67 6f 20 27 64 65 73 |lt-in Li|ngo 'des|
|00003810| 6b 74 6f 70 52 65 63 74 | 4c 69 73 74 27 20 66 6f |ktopRect|List' fo|
|00003820| 72 53 2d 2d 20 74 68 69 | 73 2e 20 54 68 69 73 20 |rS-- thi|s. This |
|00003830| 77 69 6e 64 6f 77 27 73 | 20 64 69 6d 65 6e 73 69 |window's| dimensi|
|00003840| 6f 6e 73 20 61 72 65 20 | 66 61 62 72 69 63 61 74 |ons are |fabricat|
|00003850| 65 64 20 62 79 20 4d 61 | 63 20 4d 61 73 74 65 72 |ed by Ma|c Master|
|00003860| 41 70 70 2c 20 69 6e 20 | 6f 72 64 65 72 20 74 6f |App, in |order to|
|00003870| 20 6b 65 65 70 56 2d 2d | 20 63 6f 6d 70 61 74 69 | keepV--| compati|
|00003880| 62 69 6c 69 74 79 20 77 | 69 74 68 20 74 68 65 20 |bility w|ith the |
|00003890| 57 69 6e 64 6f 77 73 20 | 76 65 72 73 69 6f 6e 20 |Windows |version |
|000038a0| 6f 66 20 4d 61 73 74 65 | 72 41 70 70 2e 20 49 6e |of Maste|rApp. In|
|000038b0| 20 74 68 65 20 74 72 75 | 65 20 4d 61 63 4f 53 20 | the tru|e MacOS |
|000038c0| 77 69 6e 64 6f 77 20 6c | 69 73 74 2c 2c 2d 2d 20 |window l|ist,,-- |
|000038d0| 74 68 69 73 20 77 69 6e | 64 6f 77 20 69 73 20 7a |this win|dow is z|
|000038e0| 65 72 6f 20 70 69 78 65 | 6c 73 20 74 61 6c 6c 20 |ero pixe|ls tall |
|000038f0| 61 6e 64 20 77 69 64 65 | 2e 22 53 49 20 6d 47 65 |and wide|."SI mGe|
|00003900| 74 57 69 6e 64 6f 77 4f | 75 74 73 69 64 65 52 65 |tWindowO|utsideRe|
|00003910| 63 74 2c 20 77 69 6e 64 | 6f 77 49 44 4c 2d 2d 20 |ct, wind|owIDL-- |
|00003920| 52 65 74 75 72 6e 73 20 | 61 20 77 69 6e 64 6f 77 |Returns |a window|
|00003930| 27 73 20 64 69 6d 65 6e | 73 69 6f 6e 73 2c 20 72 |'s dimen|sions, r|
|00003940| 65 6c 61 74 69 76 65 20 | 74 6f 20 74 68 65 20 6d |elative |to the m|
|00003950| 61 69 6e 20 73 63 72 65 | 65 6e 2c 20 69 6e 63 6c |ain scre|en, incl|
|00003960| 75 64 69 6e 67 20 61 6e | 79 4d 2d 2d 20 74 69 74 |uding an|yM-- tit|
|00003970| 6c 65 20 62 61 72 20 61 | 72 65 61 2c 20 61 73 20 |le bar a|rea, as |
|00003980| 61 20 66 6f 75 72 2d 77 | 6f 72 64 20 73 74 72 69 |a four-w|ord stri|
|00003990| 6e 67 20 6f 66 20 69 6e | 74 65 67 65 72 73 20 69 |ng of in|tegers i|
|000039a0| 6e 20 74 68 65 20 6f 72 | 64 65 72 3a 20 6c 65 66 |n the or|der: lef|
|000039b0| 74 2c 20 74 6f 70 2c 4c | 2d 2d 20 72 69 67 68 74 |t, top,L|-- right|
|000039c0| 2c 20 62 6f 74 74 6f 6d | 2e 20 52 65 74 75 72 6e |, bottom|. Return|
|000039d0| 73 20 27 45 72 72 6f 72 | 3a 27 20 61 73 20 77 6f |s 'Error|:' as wo|
|000039e0| 72 64 20 31 20 69 66 20 | 74 68 65 72 65 27 73 20 |rd 1 if |there's |
|000039f0| 61 20 70 72 6f 62 6c 65 | 6d 2e 20 4e 6f 74 65 20 |a proble|m. Note |
|00003a00| 74 68 61 74 4b 2d 2d 20 | 73 6f 6d 65 20 61 70 70 |thatK-- |some app|
|00003a10| 73 20 28 44 69 72 65 63 | 74 6f 72 20 69 74 73 65 |s (Direc|tor itse|
|00003a20| 6c 66 20 69 6e 63 6c 75 | 64 65 64 29 2c 20 65 78 |lf inclu|ded), ex|
|00003a30| 70 65 63 74 69 6e 67 20 | 74 6f 20 6d 61 69 6e 74 |pecting |to maint|
|00003a40| 61 69 6e 20 63 68 69 6c | 64 20 77 69 6e 64 6f 77 |ain chil|d window|
|00003a50| 4b 2d 2d 20 64 69 6d 65 | 6e 73 69 6f 6e 73 20 70 |K-- dime|nsions p|
|00003a60| 72 69 76 61 74 65 6c 79 | 2c 20 6d 61 79 20 72 65 |rivately|, may re|
|00003a70| 74 75 72 6e 20 76 61 6c | 75 65 73 20 74 68 61 74 |turn val|ues that|
|00003a80| 20 61 72 65 20 6f 66 66 | 73 65 74 20 66 72 6f 6d | are off|set from|
|00003a90| 20 74 72 75 65 20 73 63 | 72 65 65 6e 50 2d 2d 20 | true sc|reenP-- |
|00003aa0| 63 6f 6f 72 64 69 6e 61 | 74 65 73 3b 20 74 65 73 |coordina|tes; tes|
|00003ab0| 74 69 6e 67 20 69 73 20 | 72 65 71 75 69 72 65 64 |ting is |required|
|00003ac0| 20 66 6f 72 20 65 61 63 | 68 20 61 70 70 20 77 69 | for eac|h app wi|
|00003ad0| 74 68 20 77 68 69 63 68 | 20 79 6f 75 20 75 73 65 |th which| you use|
|00003ae0| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 2e 21 53 49 | this me|thod.!SI|
|00003af0| 20 6d 47 65 74 57 69 6e | 64 6f 77 49 6e 73 69 64 | mGetWin|dowInsid|
|00003b00| 65 52 65 63 74 2c 20 77 | 69 6e 64 6f 77 49 44 4c |eRect, w|indowIDL|
|00003b10| 2d 2d 20 52 65 74 75 72 | 6e 73 20 61 20 77 69 6e |-- Retur|ns a win|
|00003b20| 64 6f 77 27 73 20 64 69 | 6d 65 6e 73 69 6f 6e 73 |dow's di|mensions|
|00003b30| 2c 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 74 68 |, relati|ve to th|
|00003b40| 65 20 6d 61 69 6e 20 73 | 63 72 65 65 6e 2c 20 6e |e main s|creen, n|
|00003b50| 6f 74 20 69 6e 63 6c 75 | 64 69 6e 67 4c 2d 2d 20 |ot inclu|dingL-- |
|00003b60| 61 6e 79 20 74 69 74 6c | 65 20 62 61 72 20 61 72 |any titl|e bar ar|
|00003b70| 65 61 2c 20 69 6e 20 74 | 68 65 20 73 61 6d 65 20 |ea, in t|he same |
|00003b80| 66 6f 72 6d 61 74 20 75 | 73 65 64 20 62 79 20 6d |format u|sed by m|
|00003b90| 47 65 74 57 69 6e 64 6f | 77 4f 75 74 73 69 64 65 |GetWindo|wOutside|
|00003ba0| 52 65 63 74 2e 20 54 68 | 65 3a 2d 2d 20 73 61 6d |Rect. Th|e:-- sam|
|00003bb0| 65 20 70 72 65 63 61 75 | 74 69 6f 6e 73 20 64 6f |e precau|tions do|
|00003bc0| 63 75 6d 65 6e 74 65 64 | 20 74 68 65 72 65 20 61 |cumented| there a|
|00003bd0| 70 70 6c 79 20 74 6f 20 | 74 68 69 73 20 6d 65 74 |pply to |this met|
|00003be0| 68 6f 64 2e 40 49 49 49 | 49 49 49 20 6d 53 65 74 |hod.@III|III mSet|
|00003bf0| 57 69 6e 64 6f 77 4f 75 | 74 73 69 64 65 52 65 63 |WindowOu|tsideRec|
|00003c00| 74 2c 20 77 69 6e 64 6f | 77 49 44 2c 20 6c 65 66 |t, windo|wID, lef|
|00003c10| 74 2c 20 74 6f 70 2c 20 | 72 69 67 68 74 2c 20 62 |t, top, |right, b|
|00003c20| 6f 74 74 6f 6d 45 2d 2d | 20 53 65 74 73 20 6f 75 |ottomE--| Sets ou|
|00003c30| 74 73 69 64 65 20 77 69 | 6e 64 6f 77 20 72 65 63 |tside wi|ndow rec|
|00003c40| 74 61 6e 67 6c 65 20 64 | 69 6d 65 6e 73 69 6f 6e |tangle d|imension|
|00003c50| 73 2e 20 59 6f 75 20 63 | 61 6e 20 6d 6f 76 65 20 |s. You c|an move |
|00003c60| 6f 72 20 72 65 73 69 7a | 65 20 61 47 2d 2d 20 77 |or resiz|e aG-- w|
|00003c70| 69 6e 64 6f 77 20 62 61 | 73 65 64 20 6f 6e 20 74 |indow ba|sed on t|
|00003c80| 68 65 20 64 69 6d 65 6e | 73 69 6f 6e 73 20 79 6f |he dimen|sions yo|
|00003c90| 75 20 70 72 6f 76 69 64 | 65 2e 20 52 65 74 75 72 |u provid|e. Retur|
|00003ca0| 6e 73 20 30 20 69 66 20 | 73 75 63 63 65 73 73 66 |ns 0 if |successf|
|00003cb0| 75 6c 2c 49 2d 2d 20 31 | 20 69 66 20 74 68 65 20 |ul,I-- 1| if the |
|00003cc0| 73 75 70 70 6c 69 65 64 | 20 64 69 6d 65 6e 73 69 |supplied| dimensi|
|00003cd0| 6f 6e 73 20 61 72 65 20 | 69 6e 76 61 6c 69 64 2c |ons are |invalid,|
|00003ce0| 20 32 20 69 66 20 74 68 | 65 20 77 69 6e 64 6f 77 | 2 if th|e window|
|00003cf0| 27 73 20 6e 6f 74 20 76 | 61 6c 69 64 2e 4c 2d 2d |'s not v|alid.L--|
|00003d00| 20 4e 6f 74 65 20 74 68 | 61 74 20 74 68 69 73 20 | Note th|at this |
|00003d10| 6d 65 74 68 6f 64 20 62 | 65 68 61 76 65 73 20 64 |method b|ehaves d|
|00003d20| 69 66 66 65 72 65 6e 74 | 6c 79 20 6f 6e 20 4d 61 |ifferent|ly on Ma|
|00003d30| 63 20 61 6e 64 20 57 69 | 6e 64 6f 77 73 2e 20 53 |c and Wi|ndows. S|
|00003d40| 63 72 6f 6c 6c 20 62 61 | 72 73 49 2d 2d 20 61 6e |croll ba|rsI-- an|
|00003d50| 64 20 6f 74 68 65 72 20 | 77 69 6e 64 6f 77 20 63 |d other |window c|
|00003d60| 6f 6e 74 65 6e 74 20 63 | 61 6e 20 62 65 63 6f 6d |ontent c|an becom|
|00003d70| 65 20 68 69 64 64 65 6e | 20 61 73 20 61 20 72 65 |e hidden| as a re|
|00003d80| 73 75 6c 74 20 6f 6e 20 | 74 68 65 20 4d 61 63 2c |sult on |the Mac,|
|00003d90| 20 62 75 74 48 2d 2d 20 | 6f 6e 20 57 69 6e 64 6f | butH-- |on Windo|
|00003da0| 77 73 2c 20 74 68 65 20 | 65 6e 74 69 72 65 20 77 |ws, the |entire w|
|00003db0| 69 6e 64 6f 77 20 61 6e | 64 20 69 74 73 20 63 6f |indow an|d its co|
|00003dc0| 6e 74 72 6f 6c 73 20 61 | 72 65 20 72 65 64 72 61 |ntrols a|re redra|
|00003dd0| 77 6e 20 74 6f 20 74 68 | 65 20 6e 65 77 4c 2d 2d |wn to th|e newL--|
|00003de0| 20 73 69 7a 65 2e 20 4f | 6e 20 74 68 65 20 4d 61 | size. O|n the Ma|
|00003df0| 63 2c 20 69 74 27 73 20 | 62 65 73 74 20 74 6f 20 |c, it's |best to |
|00003e00| 63 68 61 6e 67 65 20 6f | 6e 6c 79 20 74 68 65 20 |change o|nly the |
|00003e10| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |position| of the |
|00003e20| 72 65 63 74 61 6e 67 6c | 65 2c 4d 2d 2d 20 6e 6f |rectangl|e,M-- no|
|00003e30| 74 20 69 74 73 20 68 65 | 69 67 68 74 20 61 6e 64 |t its he|ight and|
|00003e40| 20 77 69 64 74 68 2e 20 | 59 6f 75 20 6d 61 79 20 | width. |You may |
|00003e50| 62 65 20 61 62 6c 65 20 | 74 6f 20 75 73 65 20 74 |be able |to use t|
|00003e60| 68 65 20 6d 46 61 6b 65 | 4d 6f 75 73 65 44 72 61 |he mFake|MouseDra|
|00003e70| 67 20 6d 65 74 68 6f 64 | 4a 2d 2d 20 62 65 6c 6f |g method|J-- belo|
|00003e80| 77 20 74 6f 20 73 69 6d | 75 6c 61 74 65 20 61 20 |w to sim|ulate a |
|00003e90| 64 72 61 67 20 6f 6e 20 | 74 68 65 20 72 65 73 69 |drag on |the resi|
|00003ea0| 7a 69 6e 67 20 62 6f 78 | 20 6f 6e 20 74 68 65 20 |zing box| on the |
|00003eb0| 4d 61 63 2c 20 74 6f 20 | 61 63 68 65 69 76 65 20 |Mac, to |acheive |
|00003ec0| 74 68 65 2e 2d 2d 20 65 | 66 66 65 63 74 20 6f 66 |the.-- e|ffect of|
|00003ed0| 20 6d 53 65 74 57 69 6e | 64 6f 77 4f 75 74 73 69 | mSetWin|dowOutsi|
|00003ee0| 64 65 52 65 63 74 20 6f | 6e 20 57 69 6e 64 6f 77 |deRect o|n Window|
|00003ef0| 73 2e 39 49 49 49 49 49 | 49 20 6d 53 65 74 57 69 |s.9IIIII|I mSetWi|
|00003f00| 6e 64 6f 77 52 65 63 74 | 2c 20 77 69 6e 64 6f 77 |ndowRect|, window|
|00003f10| 49 44 2c 20 6c 65 66 74 | 2c 20 74 6f 70 2c 20 72 |ID, left|, top, r|
|00003f20| 69 67 68 74 2c 20 62 6f | 74 74 6f 6d 4d 2d 2d 20 |ight, bo|ttomM-- |
|00003f30| 53 79 6e 6f 6e 79 6d 20 | 66 6f 72 20 6d 53 65 74 |Synonym |for mSet|
|00003f40| 57 69 6e 64 6f 77 4f 75 | 74 73 69 64 65 52 65 63 |WindowOu|tsideRec|
|00003f50| 74 2c 20 66 6f 72 20 63 | 6f 6d 70 61 74 69 62 69 |t, for c|ompatibi|
|00003f60| 69 74 79 20 77 69 74 68 | 20 65 61 72 6c 69 65 72 |ity with| earlier|
|00003f70| 20 76 65 72 73 69 6f 6e | 73 2e 19 49 49 20 6d 43 | version|s..II mC|
|00003f80| 6c 6f 73 65 57 69 6e 64 | 6f 77 2c 20 77 69 6e 64 |loseWind|ow, wind|
|00003f90| 6f 77 49 44 4f 2d 2d 20 | 53 69 6d 75 6c 61 74 65 |owIDO-- |Simulate|
|00003fa0| 73 20 61 20 6d 6f 75 73 | 65 20 70 72 65 73 73 20 |s a mous|e press |
|00003fb0| 6f 6e 20 61 20 77 69 6e | 64 6f 77 27 73 20 63 6c |on a win|dow's cl|
|00003fc0| 6f 73 65 20 62 6f 78 2e | 20 44 6f 65 73 20 6e 6f |ose box.| Does no|
|00003fd0| 74 20 77 6f 72 6b 20 69 | 66 20 74 68 65 20 77 69 |t work i|f the wi|
|00003fe0| 6e 64 6f 77 4b 2d 2d 20 | 64 6f 65 73 20 6e 6f 74 |ndowK-- |does not|
|00003ff0| 20 68 61 76 65 20 61 20 | 63 6c 6f 73 65 20 62 6f | have a |close bo|
|00004000| 78 21 20 41 6c 73 6f 2c | 20 61 20 77 69 6e 64 6f |x! Also,| a windo|
|00004010| 77 20 6d 61 79 20 6e 6f | 74 20 68 61 76 65 20 61 |w may no|t have a|
|00004020| 20 63 6c 6f 73 65 20 62 | 6f 78 20 75 6e 74 69 6c | close b|ox until|
|00004030| 55 2d 2d 20 69 74 27 73 | 20 66 72 6f 6e 74 6d 6f |U-- it's| frontmo|
|00004040| 73 74 2e 20 57 69 74 68 | 20 73 6f 6d 65 20 61 70 |st. With| some ap|
|00004050| 70 73 2c 20 74 6f 20 63 | 6c 6f 73 65 20 77 69 6e |ps, to c|lose win|
|00004060| 64 6f 77 73 2c 20 79 6f | 75 20 6d 61 79 20 6e 65 |dows, yo|u may ne|
|00004070| 65 64 20 74 6f 20 73 65 | 6e 64 20 61 20 66 61 6b |ed to se|nd a fak|
|00004080| 65 20 6d 65 6e 75 51 2d | 2d 20 63 6f 6d 6d 61 6e |e menuQ-|- comman|
|00004090| 64 20 74 6f 20 63 6c 6f | 73 65 20 61 20 77 69 6e |d to clo|se a win|
|000040a0| 64 6f 77 2c 20 6f 72 20 | 73 65 6e 64 20 61 20 66 |dow, or |send a f|
|000040b0| 61 6b 65 20 6d 6f 75 73 | 65 20 70 72 65 73 73 20 |ake mous|e press |
|000040c0| 74 6f 20 73 6f 6d 65 20 | 69 6e 74 65 72 66 61 63 |to some |interfac|
|000040d0| 65 20 67 61 64 67 65 74 | 50 2d 2d 20 77 69 74 68 |e gadget|P-- with|
|000040e0| 69 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 20 61 72 |in the w|indow ar|
|000040f0| 65 61 20 69 74 73 65 6c | 66 2e 20 4e 6f 74 65 20 |ea itsel|f. Note |
|00004100| 31 3a 20 6d 48 69 64 65 | 57 69 6e 64 6f 77 20 6d |1: mHide|Window m|
|00004110| 61 79 20 77 6f 72 6b 20 | 62 65 74 74 65 72 2d 2d |ay work |better--|
|00004120| 20 44 69 72 65 63 74 6f | 72 4a 2d 2d 20 69 74 73 | Directo|rJ-- its|
|00004130| 65 6c 66 20 73 69 6d 70 | 6c 79 20 68 69 64 65 73 |elf simp|ly hides|
|00004140| 20 61 75 74 68 6f 72 69 | 6e 67 2d 74 69 6d 65 20 | authori|ng-time |
|00004150| 77 69 6e 64 6f 77 73 20 | 77 68 65 6e 20 70 72 65 |windows |when pre|
|00004160| 73 73 69 6e 67 20 74 68 | 65 20 63 6c 6f 73 65 20 |ssing th|e close |
|00004170| 62 6f 78 2e 4b 2d 2d 20 | 4e 6f 74 65 20 32 3a 20 |box.K-- |Note 2: |
|00004180| 57 69 6e 64 6f 77 73 20 | 61 70 70 73 20 71 75 69 |Windows |apps qui|
|00004190| 74 20 77 68 65 6e 20 74 | 68 65 20 6d 61 69 6e 20 |t when t|he main |
|000041a0| 77 69 6e 64 6f 77 20 63 | 6c 6f 73 65 73 2c 20 62 |window c|loses, b|
|000041b0| 75 74 20 6d 6f 73 74 20 | 4d 61 63 20 61 70 70 73 |ut most |Mac apps|
|000041c0| 4e 2d 2d 20 64 6f 6e 27 | 74 20 71 75 69 74 2c 20 |N-- don'|t quit, |
|000041d0| 61 6e 64 20 73 74 69 6c | 6c 20 73 68 6f 77 20 61 |and stil|l show a|
|000041e0| 20 6d 65 6e 75 2e 20 55 | 73 65 20 6d 52 75 64 65 | menu. U|se mRude|
|000041f0| 51 75 69 74 54 61 73 6b | 20 69 6e 20 73 75 63 68 |QuitTask| in such|
|00004200| 20 63 61 73 65 73 2e 20 | 4e 6f 74 65 20 33 3a 4e | cases. |Note 3:N|
|00004210| 2d 2d 20 62 79 20 64 65 | 66 61 75 6c 74 2c 20 74 |-- by de|fault, t|
|00004220| 68 65 20 63 65 6e 74 65 | 72 20 6f 66 20 74 68 65 |he cente|r of the|
|00004230| 20 63 6c 6f 73 65 20 62 | 6f 78 20 69 73 20 61 73 | close b|ox is as|
|00004240| 73 75 6d 65 64 20 74 6f | 20 62 65 20 31 34 20 70 |sumed to| be 14 p|
|00004250| 69 78 65 6c 73 20 66 72 | 6f 6d 20 74 68 65 50 2d |ixels fr|om theP-|
|00004260| 2d 20 6c 65 66 74 20 6f | 66 20 74 68 65 20 77 69 |- left o|f the wi|
|00004270| 6e 64 6f 77 20 74 69 74 | 6c 65 20 62 61 72 2c 20 |ndow tit|le bar, |
|00004280| 61 6e 64 20 38 20 70 69 | 78 65 6c 73 20 66 72 6f |and 8 pi|xels fro|
|00004290| 6d 20 74 68 65 20 74 6f | 70 2e 20 59 6f 75 20 63 |m the to|p. You c|
|000042a0| 61 6e 20 63 68 61 6e 67 | 65 20 74 68 65 73 65 52 |an chang|e theseR|
|000042b0| 2d 2d 20 76 61 6c 75 65 | 73 20 77 69 74 68 20 74 |-- value|s with t|
|000042c0| 68 65 20 6d 53 65 74 43 | 6c 6f 73 65 42 6f 78 4f |he mSetC|loseBoxO|
|000042d0| 66 66 73 65 74 20 6d 65 | 74 68 6f 64 3b 20 79 6f |ffset me|thod; yo|
|000042e0| 75 20 63 61 6e 20 61 6c | 73 6f 20 75 73 65 20 74 |u can al|so use t|
|000042f0| 68 65 20 6d 46 69 6e 64 | 57 69 6e 64 6f 77 50 61 |he mFind|WindowPa|
|00004300| 72 74 4f 2d 2d 20 6d 65 | 74 68 6f 64 20 74 6f 20 |rtO-- me|thod to |
|00004310| 6c 6f 63 61 74 65 20 6f | 6e 65 20 6f 66 20 44 69 |locate o|ne of Di|
|00004320| 72 65 63 74 6f 72 27 73 | 20 6f 77 6e 20 77 69 6e |rector's| own win|
|00004330| 64 6f 77 73 27 20 63 6c | 6f 73 65 20 62 6f 78 2e |dows' cl|ose box.|
|00004340| 20 54 68 65 73 65 20 6d | 65 74 68 6f 64 73 20 61 | These m|ethods a|
|00004350| 72 65 54 2d 2d 20 75 73 | 65 66 75 6c 20 77 68 65 |reT-- us|eful whe|
|00004360| 6e 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 75 73 |n you ne|ed to us|
|00004370| 65 20 6d 43 6c 6f 73 65 | 57 69 6e 64 6f 77 20 6f |e mClose|Window o|
|00004380| 6e 20 6e 6f 6e 2d 52 6f | 6d 61 6e 20 73 79 73 74 |n non-Ro|man syst|
|00004390| 65 6d 73 20 6f 72 20 77 | 69 74 68 20 6e 6f 6e 73 |ems or w|ith nons|
|000043a0| 74 61 6e 64 61 72 64 57 | 2d 2d 20 65 78 74 65 6e |tandardW|-- exten|
|000043b0| 73 69 6f 6e 73 20 6c 69 | 6b 65 20 27 41 61 72 6f |sions li|ke 'Aaro|
|000043c0| 6e 27 20 28 6f 72 20 75 | 73 65 72 20 69 6e 74 65 |n' (or u|ser inte|
|000043d0| 72 66 61 63 65 20 64 65 | 73 69 67 6e 20 63 68 61 |rface de|sign cha|
|000043e0| 6e 67 65 73 20 69 6e 20 | 66 75 74 75 72 65 20 73 |nges in |future s|
|000043f0| 79 73 74 65 6d 20 76 65 | 72 73 69 6f 6e 73 29 49 |ystem ve|rsions)I|
|00004400| 2d 2d 20 74 68 61 74 20 | 61 6c 74 65 72 20 74 68 |-- that |alter th|
|00004410| 65 20 6c 6f 6f 6b 20 6f | 66 20 77 69 6e 64 6f 77 |e look o|f window|
|00004420| 20 74 69 74 6c 65 20 62 | 61 72 73 2e 20 52 65 74 | title b|ars. Ret|
|00004430| 75 72 6e 20 76 61 6c 75 | 65 73 3a 20 30 3a 20 6f |urn valu|es: 0: o|
|00004440| 6b 3b 20 31 3a 20 62 61 | 64 25 2d 2d 20 77 69 6e |k; 1: ba|d%-- win|
|00004450| 64 6f 77 49 44 3b 20 32 | 3a 20 6e 6f 20 77 69 6e |dowID; 2|: no win|
|00004460| 64 64 6f 77 20 74 69 74 | 6c 65 20 62 61 72 2e 28 |ddow tit|le bar.(|
|00004470| 58 49 49 20 6d 53 65 74 | 43 6c 6f 73 65 42 6f 78 |XII mSet|CloseBox|
|00004480| 4f 66 66 73 65 74 2c 20 | 68 4f 66 66 73 65 74 2c |Offset, |hOffset,|
|00004490| 20 76 4f 66 66 73 65 74 | 55 2d 2d 20 41 6c 6c 6f | vOffset|U-- Allo|
|000044a0| 77 73 20 79 6f 75 20 74 | 6f 20 63 68 61 6e 67 65 |ws you t|o change|
|000044b0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 61 73 73 | the def|ault ass|
|000044c0| 75 6d 70 74 69 6f 6e 20 | 74 68 61 74 20 61 20 77 |umption |that a w|
|000044d0| 69 6e 64 6f 77 27 73 20 | 63 6c 6f 73 65 20 62 6f |indow's |close bo|
|000044e0| 78 20 69 73 20 31 34 20 | 70 69 78 65 6c 73 59 2d |x is 14 |pixelsY-|
|000044f0| 2d 20 66 72 6f 6d 20 74 | 68 65 20 6c 65 66 74 20 |- from t|he left |
|00004500| 61 6e 64 20 38 20 70 69 | 78 65 6c 73 20 66 72 6f |and 8 pi|xels fro|
|00004510| 6d 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |m the to|p of the|
|00004520| 20 77 69 6e 64 6f 77 20 | 74 69 74 6c 65 20 62 61 | window |title ba|
|00004530| 72 2e 20 41 66 66 65 63 | 74 73 20 6d 43 6c 6f 73 |r. Affec|ts mClos|
|00004540| 65 57 69 6e 64 6f 77 2e | 19 49 49 49 20 6d 46 69 |eWindow.|.III mFi|
|00004550| 6e 64 57 69 6e 64 6f 77 | 50 61 72 74 2c 20 78 2c |ndWindow|Part, x,|
|00004560| 20 79 50 2d 2d 20 41 6c | 6c 6f 77 73 20 79 6f 75 | yP-- Al|lows you|
|00004570| 20 74 6f 20 66 69 6e 64 | 20 77 68 61 74 20 70 61 | to find| what pa|
|00004580| 72 74 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 20 69 |rt of a |window i|
|00004590| 73 20 75 6e 64 65 72 20 | 70 6f 69 6e 74 28 78 2c |s under |point(x,|
|000045a0| 79 29 2e 20 4f 6e 6c 79 | 20 61 70 70 6c 69 65 73 |y). Only| applies|
|000045b0| 20 74 6f 55 2d 2d 20 74 | 68 65 20 44 69 72 65 63 | toU-- t|he Direc|
|000045c0| 74 6f 72 20 74 61 73 6b | 27 73 20 6f 77 6e 20 77 |tor task|'s own w|
|000045d0| 69 6e 64 6f 77 73 2e 20 | 52 65 74 75 72 6e 73 20 |indows. |Returns |
|000045e0| 6e 65 67 61 74 69 76 65 | 20 6e 75 6d 62 65 72 20 |negative| number |
|000045f0| 6f 6e 20 65 72 72 6f 72 | 2c 20 6f 72 20 6f 6e 65 |on error|, or one|
|00004600| 20 6f 66 20 74 68 65 73 | 65 56 2d 2d 20 63 6f 64 | of thes|eV-- cod|
|00004610| 65 73 3a 20 30 3a 20 6f | 75 74 73 69 64 65 20 61 |es: 0: o|utside a|
|00004620| 6e 79 20 44 69 72 65 63 | 74 6f 72 20 77 69 6e 64 |ny Direc|tor wind|
|00004630| 6f 77 73 3b 20 31 3a 20 | 69 6e 20 6d 65 6e 75 20 |ows; 1: |in menu |
|00004640| 62 61 72 3b 20 32 3a 20 | 69 6e 20 64 65 73 6b 20 |bar; 2: |in desk |
|00004650| 61 63 63 65 73 73 6f 72 | 79 20 77 69 6e 64 6f 77 |accessor|y window|
|00004660| 56 2d 2d 20 74 68 61 74 | 27 73 20 62 65 65 6e 20 |V-- that|'s been |
|00004670| 6c 61 75 6e 63 68 65 64 | 20 69 6e 20 44 69 72 65 |launched| in Dire|
|00004680| 63 74 6f 72 27 73 20 6d | 65 6d 6f 72 79 20 70 61 |ctor's m|emory pa|
|00004690| 72 74 69 74 69 6f 6e 3b | 20 33 3a 20 77 69 6e 64 |rtition;| 3: wind|
|000046a0| 6f 77 20 63 6f 6e 74 65 | 6e 74 20 61 72 65 61 20 |ow conte|nt area |
|000046b0| 28 65 78 63 65 70 74 52 | 2d 2d 20 61 6e 79 20 73 |(exceptR|-- any s|
|000046c0| 69 7a 65 20 62 6f 78 65 | 73 29 3b 20 34 3a 20 74 |ize boxe|s); 4: t|
|000046d0| 69 74 6c 65 20 62 61 72 | 3b 20 35 3a 20 73 69 7a |itle bar|; 5: siz|
|000046e0| 65 20 62 6f 78 20 28 61 | 63 74 69 76 65 20 77 69 |e box (a|ctive wi|
|000046f0| 6e 64 6f 77 73 20 6f 6e | 6c 79 29 3b 20 36 3a 20 |ndows on|ly); 6: |
|00004700| 63 6c 6f 73 65 20 62 6f | 78 3b 54 2d 2d 20 37 3a |close bo|x;T-- 7:|
|00004710| 20 7a 6f 6f 6d 20 62 6f | 78 20 28 73 74 61 6e 64 | zoom bo|x (stand|
|00004720| 61 72 64 20 73 74 61 74 | 65 29 3b 20 38 3a 20 7a |ard stat|e); 8: z|
|00004730| 6f 6f 6d 20 62 6f 78 20 | 28 75 73 65 72 27 73 20 |oom box |(user's |
|00004740| 73 74 61 74 65 29 2e 20 | 44 69 6d 65 6e 73 69 6f |state). |Dimensio|
|00004750| 6e 73 20 61 72 65 20 72 | 65 6c 61 74 69 76 65 3a |ns are r|elative:|
|00004760| 2d 2d 20 74 6f 20 74 68 | 65 20 74 6f 70 20 6c 65 |-- to th|e top le|
|00004770| 66 74 20 6f 66 20 74 68 | 65 20 73 63 72 65 65 6e |ft of th|e screen|
|00004780| 20 77 69 74 68 20 74 68 | 65 20 46 69 6e 64 65 72 | with th|e Finder|
|00004790| 20 6d 65 6e 75 20 62 61 | 72 2e 1a 49 49 20 6d 57 | menu ba|r..II mW|
|000047a0| 69 6e 64 6f 77 45 78 69 | 73 74 73 2c 20 77 69 6e |indowExi|sts, win|
|000047b0| 64 6f 77 49 44 39 2d 2d | 20 52 65 74 75 72 6e 73 |dowID9--| Returns|
|000047c0| 20 54 52 55 45 20 69 66 | 20 74 68 65 20 77 69 6e | TRUE if| the win|
|000047d0| 64 6f 77 20 73 74 69 6c | 6c 20 65 78 69 73 74 73 |dow stil|l exists|
|000047e0| 2c 20 46 41 4c 53 45 20 | 69 66 20 6e 6f 74 2e 1b |, FALSE |if not..|
|000047f0| 49 49 20 6d 57 69 6e 64 | 6f 77 54 6f 46 72 6f 6e |II mWind|owToFron|
|00004800| 74 2c 20 77 69 6e 64 6f | 77 49 44 4e 2d 2d 20 42 |t, windo|wIDN-- B|
|00004810| 72 69 6e 67 73 20 61 20 | 77 69 6e 64 6f 77 20 74 |rings a |window t|
|00004820| 6f 20 74 68 65 20 66 72 | 6f 6e 74 2e 20 49 66 20 |o the fr|ont. If |
|00004830| 74 68 65 20 77 69 6e 64 | 6f 77 27 73 20 61 70 70 |the wind|ow's app|
|00004840| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 6e 6f 74 20 |lication| is not |
|00004850| 61 6c 72 65 61 64 79 20 | 69 6e 24 2d 2d 20 66 72 |already |in$-- fr|
|00004860| 6f 6e 74 2c 20 69 74 20 | 77 69 6c 6c 20 62 65 20 |ont, it |will be |
|00004870| 6d 61 64 65 20 66 72 6f | 6e 74 6d 6f 73 74 2e 1a |made fro|ntmost..|
|00004880| 49 49 20 6d 57 69 6e 64 | 6f 77 54 6f 42 61 63 6b |II mWind|owToBack|
|00004890| 2c 20 77 69 6e 64 6f 77 | 49 44 46 2d 2d 20 53 65 |, window|IDF-- Se|
|000048a0| 6e 64 73 20 61 20 77 69 | 6e 64 6f 77 20 74 6f 20 |nds a wi|ndow to |
|000048b0| 74 68 65 20 62 61 63 6b | 2e 20 44 6f 65 73 20 6e |the back|. Does n|
|000048c0| 6f 74 20 61 66 66 65 63 | 74 20 61 70 70 6c 69 63 |ot affec|t applic|
|000048d0| 61 74 69 6f 6e 20 64 72 | 61 77 20 6f 72 64 65 72 |ation dr|aw order|
|000048e0| 21 18 49 49 20 6d 48 69 | 64 65 57 69 6e 64 6f 77 |!.II mHi|deWindow|
|000048f0| 2c 20 77 69 6e 64 6f 77 | 49 44 54 2d 2d 20 48 69 |, window|IDT-- Hi|
|00004900| 64 65 73 20 61 20 76 69 | 73 69 62 6c 65 20 77 69 |des a vi|sible wi|
|00004910| 6e 64 6f 77 20 28 61 6e | 64 20 6d 61 6b 65 73 20 |ndow (an|d makes |
|00004920| 69 74 73 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |its appl|ication |
|00004930| 66 72 6f 6e 74 6d 6f 73 | 74 20 69 66 20 69 74 27 |frontmos|t if it'|
|00004940| 73 20 6e 6f 74 20 61 6c | 72 65 61 64 79 29 2e 4e |s not al|ready).N|
|00004950| 2d 2d 20 4e 6f 74 65 20 | 74 68 61 74 20 61 6e 20 |-- Note |that an |
|00004960| 61 70 70 20 6d 69 67 68 | 74 20 6e 6f 74 20 72 65 |app migh|t not re|
|00004970| 61 6c 69 7a 65 20 69 74 | 73 20 77 69 6e 64 6f 77 |alize it|s window|
|00004980| 20 69 73 20 68 69 64 64 | 65 6e 20 28 69 2e 65 2e | is hidd|en (i.e.|
|00004990| 2c 20 74 68 65 20 44 69 | 72 65 63 74 6f 72 4d 2d |, the Di|rectorM-|
|000049a0| 2d 20 61 75 74 68 6f 72 | 69 6e 67 20 77 69 6e 64 |- author|ing wind|
|000049b0| 6f 77 73 20 6d 61 79 20 | 6e 65 65 64 20 74 6f 20 |ows may |need to |
|000049c0| 62 65 20 73 65 6c 65 63 | 74 65 64 20 74 77 69 63 |be selec|ted twic|
|000049d0| 65 20 69 6e 20 74 68 65 | 20 6d 65 6e 75 73 20 74 |e in the| menus t|
|000049e0| 6f 20 72 65 61 70 70 65 | 61 72 29 2e 3b 2d 2d 20 |o reappe|ar).;-- |
|000049f0| 52 65 74 75 72 6e 73 20 | 30 20 66 6f 72 20 73 75 |Returns |0 for su|
|00004a00| 63 63 65 73 73 2c 20 6f | 72 20 2d 31 20 69 66 20 |ccess, o|r -1 if |
|00004a10| 74 68 65 20 77 69 6e 64 | 6f 77 49 44 20 69 73 20 |the wind|owID is |
|00004a20| 69 6e 76 61 6c 69 64 2e | 18 49 49 20 6d 53 68 6f |invalid.|.II mSho|
|00004a30| 77 57 69 6e 64 6f 77 2c | 20 77 69 6e 64 6f 77 49 |wWindow,| windowI|
|00004a40| 44 53 2d 2d 20 53 68 6f | 77 73 20 61 20 68 69 64 |DS-- Sho|ws a hid|
|00004a50| 64 65 6e 20 77 69 6e 64 | 6f 77 20 28 61 6e 64 20 |den wind|ow (and |
|00004a60| 6d 61 6b 65 73 20 69 74 | 73 20 61 70 70 6c 69 63 |makes it|s applic|
|00004a70| 61 74 69 6f 6e 20 66 72 | 6f 6e 74 6d 6f 73 74 20 |ation fr|ontmost |
|00004a80| 69 66 20 69 74 27 73 20 | 6e 6f 74 20 61 6c 72 65 |if it's |not alre|
|00004a90| 61 64 79 29 2e 50 2d 2d | 20 59 6f 75 20 70 72 6f |ady).P--| You pro|
|00004aa0| 62 61 62 6c 79 20 77 61 | 6e 74 20 74 6f 20 75 73 |bably wa|nt to us|
|00004ab0| 65 20 6d 53 65 74 41 63 | 74 69 76 65 57 69 6e 64 |e mSetAc|tiveWind|
|00004ac0| 6f 77 20 6f 72 20 6d 57 | 69 6e 64 6f 77 54 6f 46 |ow or mW|indowToF|
|00004ad0| 72 6f 6e 74 20 72 69 67 | 68 74 20 61 66 74 65 72 |ront rig|ht after|
|00004ae0| 20 74 68 69 73 21 3b 2d | 2d 20 52 65 74 75 72 6e | this!;-|- Return|
|00004af0| 73 20 30 20 66 6f 72 20 | 73 75 63 63 65 73 73 2c |s 0 for |success,|
|00004b00| 20 6f 72 20 2d 31 20 69 | 66 20 74 68 65 20 77 69 | or -1 i|f the wi|
|00004b10| 6e 64 6f 77 49 44 20 69 | 73 20 69 6e 76 61 6c 69 |ndowID i|s invali|
|00004b20| 64 2e 1c 49 49 20 6d 4d | 69 6e 69 6d 69 7a 65 57 |d..II mM|inimizeW|
|00004b30| 69 6e 64 6f 77 2c 20 77 | 69 6e 64 6f 77 49 44 54 |indow, w|indowIDT|
|00004b40| 2d 2d 20 4d 61 6b 65 73 | 20 61 20 77 69 6e 64 6f |-- Makes| a windo|
|00004b50| 77 20 75 73 65 20 74 68 | 65 20 61 70 70 6c 69 63 |w use th|e applic|
|00004b60| 61 74 69 6f 6e 20 64 65 | 66 69 6e 65 64 20 73 74 |ation de|fined st|
|00004b70| 61 6e 64 61 72 64 20 73 | 74 61 74 65 20 28 74 68 |andard s|tate (th|
|00004b80| 65 20 63 6c 6f 73 65 73 | 74 20 65 71 75 69 76 61 |e closes|t equiva|
|00004b90| 6c 65 6e 74 52 2d 2d 20 | 6f 6e 20 74 68 65 20 4d |lentR-- |on the M|
|00004ba0| 61 63 20 74 6f 20 74 68 | 69 73 20 57 69 6e 64 6f |ac to th|is Windo|
|00004bb0| 77 73 20 66 75 6e 63 74 | 69 6f 6e 29 2e 20 44 65 |ws funct|ion). De|
|00004bc0| 66 61 75 6c 74 20 61 73 | 73 75 6d 70 74 69 6f 6e |fault as|sumption|
|00004bd0| 73 20 61 62 6f 75 74 20 | 74 68 65 20 6c 6f 63 61 |s about |the loca|
|00004be0| 74 69 6f 6e 20 6f 66 54 | 2d 2d 20 74 68 65 20 73 |tion ofT|-- the s|
|00004bf0| 74 61 6e 64 61 72 64 20 | 73 74 61 74 65 20 7a 6f |tandard |state zo|
|00004c00| 6f 6d 20 67 61 64 67 65 | 74 20 69 6e 20 74 68 65 |om gadge|t in the|
|00004c10| 20 77 69 6e 64 6f 77 20 | 74 69 74 6c 65 20 62 61 | window |title ba|
|00004c20| 72 20 63 61 6e 20 62 65 | 20 6f 76 65 72 72 69 64 |r can be| overrid|
|00004c30| 64 65 6e 20 77 69 74 68 | 20 74 68 65 4f 2d 2d 20 |den with| theO-- |
|00004c40| 6d 53 65 74 53 74 61 6e | 64 61 72 64 5a 6f 6f 6d |mSetStan|dardZoom|
|00004c50| 4f 66 66 73 65 74 20 6d | 65 74 68 6f 64 2e 20 52 |Offset m|ethod. R|
|00004c60| 65 74 75 72 6e 73 20 2d | 31 20 66 6f 72 20 62 61 |eturns -|1 for ba|
|00004c70| 64 20 77 69 6e 64 6f 77 | 49 44 20 6f 72 20 30 20 |d window|ID or 0 |
|00004c80| 66 6f 72 20 73 75 63 63 | 65 73 73 2e 54 2d 2d 20 |for succ|ess.T-- |
|00004c90| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 77 69 |Note tha|t the wi|
|00004ca0| 6e 64 6f 77 20 61 6e 64 | 20 69 74 73 20 61 70 70 |ndow and| its app|
|00004cb0| 20 73 68 6f 75 6c 64 20 | 61 6c 72 65 61 64 79 20 | should |already |
|00004cc0| 62 65 20 66 72 6f 6e 74 | 6d 6f 73 74 20 28 6f 72 |be front|most (or|
|00004cd0| 20 74 68 65 20 73 74 61 | 74 65 20 6f 66 20 74 68 | the sta|te of th|
|00004ce0| 65 4d 2d 2d 20 77 69 6e | 64 6f 77 20 6d 69 67 68 |eM-- win|dow migh|
|00004cf0| 74 20 73 69 6d 70 6c 79 | 20 62 65 20 74 6f 67 67 |t simply| be togg|
|00004d00| 6c 65 64 20 66 72 6f 6d | 20 69 74 73 20 63 75 72 |led from| its cur|
|00004d10| 72 65 6e 74 20 73 74 61 | 74 65 2c 20 6f 72 20 6c |rent sta|te, or l|
|00004d20| 65 66 74 20 75 6e 63 68 | 61 6e 67 65 64 29 2e 1b |eft unch|anged)..|
|00004d30| 49 49 20 6d 52 65 73 74 | 6f 72 65 57 69 6e 64 6f |II mRest|oreWindo|
|00004d40| 77 2c 20 77 69 6e 64 6f | 77 49 44 54 2d 2d 20 4f |w, windo|wIDT-- O|
|00004d50| 6e 20 74 68 65 20 4d 61 | 63 2c 20 6a 75 73 74 20 |n the Ma|c, just |
|00004d60| 61 20 73 79 6e 6f 6e 6d | 79 6d 20 66 6f 72 20 6d |a synonm|ym for m|
|00004d70| 4d 61 78 69 6d 69 7a 65 | 57 69 6e 64 6f 77 20 28 |Maximize|Window (|
|00004d80| 77 68 69 63 68 20 73 65 | 74 73 20 74 68 65 20 75 |which se|ts the u|
|00004d90| 73 65 72 20 7a 6f 6f 6d | 20 73 74 61 74 65 29 2e |ser zoom| state).|
|00004da0| 1c 49 49 20 6d 4d 61 78 | 69 6d 69 7a 65 57 69 6e |.II mMax|imizeWin|
|00004db0| 64 6f 77 2c 20 77 69 6e | 64 6f 77 49 44 4b 2d 2d |dow, win|dowIDK--|
|00004dc0| 20 4d 61 6b 65 73 20 61 | 20 77 69 6e 64 6f 77 20 | Makes a| window |
|00004dd0| 75 73 65 20 74 68 65 20 | 75 73 65 72 20 64 65 66 |use the |user def|
|00004de0| 69 6e 65 64 20 77 69 6e | 64 6f 77 20 73 74 61 74 |ined win|dow stat|
|00004df0| 65 20 28 74 68 65 20 63 | 6c 6f 73 65 73 74 20 65 |e (the c|losest e|
|00004e00| 71 75 69 76 61 6c 65 6e | 74 52 2d 2d 20 6f 6e 20 |quivalen|tR-- on |
|00004e10| 74 68 65 20 4d 61 63 20 | 74 6f 20 74 68 69 73 20 |the Mac |to this |
|00004e20| 57 69 6e 64 6f 77 73 20 | 66 75 6e 63 74 69 6f 6e |Windows |function|
|00004e30| 29 2e 20 44 65 66 61 75 | 6c 74 20 61 73 73 75 6d |). Defau|lt assum|
|00004e40| 70 74 69 6f 6e 73 20 61 | 62 6f 75 74 20 74 68 65 |ptions a|bout the|
|00004e50| 20 6c 6f 63 61 74 69 6f | 6e 20 6f 66 50 2d 2d 20 | locatio|n ofP-- |
|00004e60| 74 68 65 20 75 73 65 72 | 20 73 74 61 74 65 20 7a |the user| state z|
|00004e70| 6f 6f 6d 20 67 61 64 67 | 65 74 20 69 6e 20 74 68 |oom gadg|et in th|
|00004e80| 65 20 77 69 6e 64 6f 77 | 20 74 69 74 6c 65 20 62 |e window| title b|
|00004e90| 61 72 20 63 61 6e 20 62 | 65 20 6f 76 65 72 72 69 |ar can b|e overri|
|00004ea0| 64 64 65 6e 20 77 69 74 | 68 20 74 68 65 4b 2d 2d |dden wit|h theK--|
|00004eb0| 20 6d 53 65 74 55 73 65 | 72 5a 6f 6f 6d 4f 66 66 | mSetUse|rZoomOff|
|00004ec0| 73 65 74 20 6d 65 74 68 | 6f 64 2e 20 52 65 74 75 |set meth|od. Retu|
|00004ed0| 72 6e 73 20 2d 31 20 66 | 6f 72 20 62 61 64 20 77 |rns -1 f|or bad w|
|00004ee0| 69 6e 64 6f 77 49 44 20 | 6f 72 20 30 20 66 6f 72 |indowID |or 0 for|
|00004ef0| 20 73 75 63 63 65 73 73 | 2e 54 2d 2d 20 4e 6f 74 | success|.T-- Not|
|00004f00| 65 20 74 68 61 74 20 74 | 68 65 20 77 69 6e 64 6f |e that t|he windo|
|00004f10| 77 20 61 6e 64 20 69 74 | 73 20 61 70 70 20 73 68 |w and it|s app sh|
|00004f20| 6f 75 6c 64 20 61 6c 72 | 65 61 64 79 20 62 65 20 |ould alr|eady be |
|00004f30| 66 72 6f 6e 74 6d 6f 73 | 74 20 28 6f 72 20 74 68 |frontmos|t (or th|
|00004f40| 65 20 73 74 61 74 65 20 | 6f 66 20 74 68 65 4d 2d |e state |of theM-|
|00004f50| 2d 20 77 69 6e 64 6f 77 | 20 6d 69 67 68 74 20 73 |- window| might s|
|00004f60| 69 6d 70 6c 79 20 62 65 | 20 74 6f 67 67 6c 65 64 |imply be| toggled|
|00004f70| 20 66 72 6f 6d 20 69 74 | 73 20 63 75 72 72 65 6e | from it|s curren|
|00004f80| 74 20 73 74 61 74 65 2c | 20 6f 72 20 6c 65 66 74 |t state,| or left|
|00004f90| 20 75 6e 63 68 61 6e 67 | 65 64 29 2e 1c 58 49 49 | unchang|ed)..XII|
|00004fa0| 20 6d 53 65 74 55 73 65 | 72 5a 6f 6f 6d 4f 66 66 | mSetUse|rZoomOff|
|00004fb0| 73 65 74 2c 20 78 2c 20 | 79 20 58 49 49 20 6d 53 |set, x, |y XII mS|
|00004fc0| 65 74 53 74 61 6e 64 61 | 72 64 5a 6f 6f 6d 4f 66 |etStanda|rdZoomOf|
|00004fd0| 66 73 65 74 2c 20 78 2c | 20 79 58 2d 2d 20 41 6c |fset, x,| yX-- Al|
|00004fe0| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 20 6f 76 65 72 |lows you| to over|
|00004ff0| 72 69 64 65 20 74 68 65 | 20 64 65 66 61 75 6c 74 |ride the| default|
|00005000| 20 61 73 73 75 6d 70 74 | 69 6f 6e 20 74 68 61 74 | assumpt|ion that|
|00005010| 20 74 68 65 20 75 73 65 | 72 20 61 6e 64 20 73 74 | the use|r and st|
|00005020| 61 6e 64 61 72 64 20 7a | 6f 6f 6d 20 67 61 64 67 |andard z|oom gadg|
|00005030| 65 74 73 56 2d 2d 20 61 | 72 65 20 6c 6f 63 61 74 |etsV-- a|re locat|
|00005040| 65 64 20 31 34 20 70 69 | 78 65 6c 73 20 6c 65 66 |ed 14 pi|xels lef|
|00005050| 74 20 61 6e 64 20 38 20 | 70 69 78 65 6c 73 20 64 |t and 8 |pixels d|
|00005060| 6f 77 6e 20 66 72 6f 6d | 20 74 68 65 20 74 6f 70 |own from| the top|
|00005070| 20 72 69 67 68 74 20 6f | 66 20 74 68 65 20 77 69 | right o|f the wi|
|00005080| 6e 64 6f 77 20 74 69 74 | 6c 65 57 2d 2d 20 62 61 |ndow tit|leW-- ba|
|00005090| 72 2e 20 54 68 69 73 20 | 63 61 6e 20 62 65 20 75 |r. This |can be u|
|000050a0| 73 65 66 75 6c 20 6f 6e | 20 6e 6f 6e 2d 52 6f 6d |seful on| non-Rom|
|000050b0| 61 6e 20 73 79 73 74 65 | 6d 20 76 65 72 73 69 6f |an syste|m versio|
|000050c0| 6e 73 2c 20 6f 72 20 77 | 68 65 6e 20 74 68 69 72 |ns, or w|hen thir|
|000050d0| 64 2d 70 61 72 74 79 20 | 65 78 74 65 6e 73 69 6f |d-party |extensio|
|000050e0| 6e 73 57 2d 2d 20 6c 69 | 6b 65 20 27 41 61 72 6f |nsW-- li|ke 'Aaro|
|000050f0| 6e 27 20 28 6f 72 20 75 | 73 65 72 20 69 6e 74 65 |n' (or u|ser inte|
|00005100| 72 66 61 63 65 20 64 65 | 73 69 67 6e 20 63 68 61 |rface de|sign cha|
|00005110| 6e 67 65 73 20 69 6e 20 | 66 75 74 75 72 65 20 73 |nges in |future s|
|00005120| 79 73 74 65 6d 20 76 65 | 72 73 69 6f 6e 73 29 20 |ystem ve|rsions) |
|00005130| 63 68 61 6e 67 65 20 74 | 68 65 59 2d 2d 20 61 70 |change t|heY-- ap|
|00005140| 70 65 61 72 61 6e 63 65 | 20 6f 66 20 74 68 65 20 |pearance| of the |
|00005150| 77 69 6e 64 6f 77 20 74 | 69 74 6c 65 20 62 61 72 |window t|itle bar|
|00005160| 73 2e 20 55 73 65 20 6d | 46 69 6e 64 57 69 6e 64 |s. Use m|FindWind|
|00005170| 6f 77 50 61 72 74 20 74 | 6f 20 64 65 74 65 72 6d |owPart t|o determ|
|00005180| 69 6e 65 20 74 68 69 73 | 20 69 6e 66 6f 72 6d 61 |ine this| informa|
|00005190| 74 69 6f 6e 56 2d 2d 20 | 6f 6e 20 6e 6f 6e 2d 52 |tionV-- |on non-R|
|000051a0| 6f 6d 61 6e 20 73 79 73 | 74 65 6d 73 2e 20 43 75 |oman sys|tems. Cu|
|000051b0| 72 72 65 6e 74 6c 79 2c | 20 74 68 65 20 75 73 65 |rrently,| the use|
|000051c0| 72 20 61 6e 64 20 73 74 | 61 6e 64 61 72 64 20 7a |r and st|andard z|
|000051d0| 6f 6f 6d 20 67 61 64 67 | 65 74 73 20 6f 63 63 75 |oom gadg|ets occu|
|000051e0| 70 79 20 74 68 65 20 73 | 61 6d 65 47 2d 2d 20 6c |py the s|ameG-- l|
|000051f0| 6f 63 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 77 |ocation |in the w|
|00005200| 69 6e 64 6f 77 20 74 69 | 74 6c 65 20 62 61 72 2c |indow ti|tle bar,|
|00005210| 20 62 75 74 20 74 68 69 | 73 20 6d 61 79 20 63 68 | but thi|s may ch|
|00005220| 61 6e 67 65 20 69 6e 20 | 74 68 65 20 66 75 74 75 |ange in |the futu|
|00005230| 72 65 2e 02 2d 2d 02 2d | 2d 11 2d 2d 20 4c 41 55 |re..--.-|-.-- LAU|
|00005240| 4e 43 48 20 4d 45 54 48 | 4f 44 53 11 2d 2d 20 2d |NCH METH|ODS.-- -|
|00005250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 5a 2d 2d |--------|-----Z--|
|00005260| 20 4e 6f 74 65 20 6f 6e | 20 74 68 65 20 66 6f 6c | Note on| the fol|
|00005270| 6c 6f 77 69 6e 67 20 6c | 61 75 6e 63 68 20 6d 65 |lowing l|aunch me|
|00005280| 74 68 6f 64 73 3a 20 6e | 6f 74 20 61 6c 6c 20 61 |thods: n|ot all a|
|00005290| 70 70 73 20 72 65 73 70 | 65 63 74 20 74 68 65 20 |pps resp|ect the |
|000052a0| 72 65 71 75 65 73 74 65 | 64 20 64 69 73 70 6c 61 |requeste|d displa|
|000052b0| 79 20 74 79 70 65 73 2e | 55 2d 2d 20 53 6f 6d 65 |y types.|U-- Some|
|000052c0| 20 61 70 70 73 20 61 6c | 77 61 79 73 20 61 73 73 | apps al|ways ass|
|000052d0| 75 6d 65 20 74 68 65 79 | 20 61 72 65 20 62 65 69 |ume they| are bei|
|000052e0| 6e 67 20 6c 61 75 6e 63 | 68 65 64 20 69 6e 20 74 |ng launc|hed in t|
|000052f0| 68 65 20 66 72 6f 6e 74 | 2e 20 54 65 73 74 69 6e |he front|. Testin|
|00005300| 67 20 69 73 20 72 65 71 | 75 69 72 65 64 21 58 2d |g is req|uired!X-|
|00005310| 2d 20 41 6c 73 6f 20 6e | 6f 74 65 20 74 68 61 74 |- Also n|ote that|
|00005320| 20 6f 6e 20 74 68 65 20 | 4d 61 63 20 79 6f 75 20 | on the |Mac you |
|00005330| 6d 61 79 20 6e 65 65 64 | 20 74 6f 20 73 65 74 20 |may need| to set |
|00005340| 74 68 65 20 6d 65 6e 75 | 20 62 61 72 20 68 65 69 |the menu| bar hei|
|00005350| 67 68 74 20 77 68 65 6e | 20 6c 61 75 6e 63 68 69 |ght when| launchi|
|00005360| 6e 67 20 61 70 70 73 58 | 2d 2d 20 66 72 6f 6d 20 |ng appsX|-- from |
|00005370| 70 72 6f 6a 65 63 74 6f | 72 73 20 28 73 65 65 20 |projecto|rs (see |
|00005380| 6d 47 65 74 4d 65 6e 75 | 42 61 72 48 65 69 67 68 |mGetMenu|BarHeigh|
|00005390| 74 2c 20 6d 53 65 74 4d | 65 6e 75 42 61 72 48 65 |t, mSetM|enuBarHe|
|000053a0| 69 67 68 74 2c 20 65 74 | 63 2e 20 62 65 6c 6f 77 |ight, et|c. below|
|000053b0| 29 2e 20 42 75 74 20 79 | 6f 75 20 6d 69 67 68 74 |). But y|ou might|
|000053c0| 53 2d 2d 20 63 68 6f 6f | 73 65 20 2a 6e 6f 74 2a |S-- choo|se *not*|
|000053d0| 20 74 6f 20 73 65 74 20 | 74 68 65 20 6d 65 6e 75 | to set |the menu|
|000053e0| 20 62 61 72 20 68 65 69 | 67 68 74 20 69 66 20 79 | bar hei|ght if y|
|000053f0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 72 65 73 74 72 |ou want |to restr|
|00005400| 69 63 74 20 61 63 63 65 | 73 73 20 74 6f 20 6d 65 |ict acce|ss to me|
|00005410| 6e 75 73 2e 02 2d 2d 34 | 49 53 53 20 6d 4c 61 75 |nus..--4|ISS mLau|
|00005420| 6e 63 68 2c 20 74 68 65 | 50 72 6f 67 72 61 6d 46 |nch, the|ProgramF|
|00005430| 69 6c 65 2c 20 74 68 65 | 43 6f 6d 6d 61 6e 64 4c |ile, the|CommandL|
|00005440| 69 6e 65 41 72 67 75 6d | 65 6e 74 73 4d 2d 2d 20 |ineArgum|entsM-- |
|00005450| 4f 70 65 6e 73 20 61 70 | 70 6c 69 63 61 74 69 6f |Opens ap|plicatio|
|00005460| 6e 20 69 6e 64 69 63 61 | 74 65 64 20 62 79 20 74 |n indica|ted by t|
|00005470| 68 65 20 66 75 6c 6c 20 | 70 61 74 68 6e 61 6d 65 |he full |pathname|
|00005480| 20 27 74 68 65 50 72 6f | 67 72 61 6d 46 69 6c 65 | 'thePro|gramFile|
|00005490| 27 2c 20 69 66 20 69 74 | 27 73 4b 2d 2d 20 6e 6f |', if it|'sK-- no|
|000054a0| 74 20 61 6c 72 65 61 64 | 79 20 6f 70 65 6e 2c 20 |t alread|y open, |
|000054b0| 6f 72 20 73 77 69 74 63 | 68 65 73 20 74 68 61 74 |or switc|hes that|
|000054c0| 20 61 70 70 20 74 6f 20 | 74 68 65 20 66 72 6f 6e | app to |the fron|
|000054d0| 74 20 69 66 20 69 74 20 | 69 73 20 6f 70 65 6e 3b |t if it |is open;|
|000054e0| 20 61 6c 73 6f 2c 52 2d | 2d 20 69 66 20 61 6e 79 | also,R-|- if any|
|000054f0| 74 68 69 6e 67 20 6f 74 | 68 65 72 20 74 68 61 6e |thing ot|her than|
|00005500| 20 45 4d 50 54 59 20 69 | 73 20 70 72 6f 76 69 64 | EMPTY i|s provid|
|00005510| 65 64 20 66 6f 72 20 27 | 74 68 65 43 6f 6d 6d 61 |ed for '|theComma|
|00005520| 6e 64 4c 69 6e 65 41 72 | 67 75 6d 65 6e 74 73 27 |ndLineAr|guments'|
|00005530| 2c 20 61 73 73 75 6d 65 | 73 55 2d 2d 20 69 74 20 |, assume|sU-- it |
|00005540| 69 73 20 61 20 66 75 6c | 6c 20 70 61 74 68 6e 61 |is a ful|l pathna|
|00005550| 6d 65 20 74 6f 20 61 20 | 64 6f 63 75 6d 65 6e 74 |me to a |document|
|00005560| 20 79 6f 75 20 77 61 6e | 74 20 6f 70 65 6e 65 64 | you wan|t opened|
|00005570| 20 69 6e 20 74 68 65 20 | 61 70 70 2e 20 52 65 74 | in the |app. Ret|
|00005580| 75 72 6e 73 20 61 20 6e | 65 67 61 74 69 76 65 55 |urns a n|egativeU|
|00005590| 2d 2d 20 6e 75 6d 62 65 | 72 20 66 6f 72 20 65 72 |-- numbe|r for er|
|000055a0| 72 6f 72 73 20 28 2d 31 | 30 38 20 69 73 20 61 20 |rors (-1|08 is a |
|000055b0| 63 6f 6d 6d 6f 6e 20 6f | 6e 65 2c 20 66 6f 72 20 |common o|ne, for |
|000055c0| 6e 6f 74 20 65 6e 6f 75 | 67 68 20 6d 65 6d 6f 72 |not enou|gh memor|
|000055d0| 79 29 2c 20 6f 72 20 61 | 6e 20 69 6e 73 74 61 6e |y), or a|n instan|
|000055e0| 63 65 49 44 2e 43 49 53 | 53 20 6d 4c 61 75 6e 63 |ceID.CIS|S mLaunc|
|000055f0| 68 42 75 74 44 6f 6e 74 | 41 63 74 69 76 61 74 65 |hButDont|Activate|
|00005600| 2c 20 74 68 65 50 72 6f | 67 72 61 6d 46 69 6c 65 |, thePro|gramFile|
|00005610| 2c 20 74 68 65 43 6f 6d | 6d 61 6e 64 4c 69 6e 65 |, theCom|mandLine|
|00005620| 41 72 67 75 6d 65 6e 74 | 73 54 2d 2d 20 53 69 6d |Argument|sT-- Sim|
|00005630| 69 6c 61 72 20 74 6f 20 | 6d 4c 61 75 6e 63 68 2c |ilar to |mLaunch,|
|00005640| 20 62 75 74 20 77 6f 6e | 27 74 20 73 77 69 74 63 | but won|'t switc|
|00005650| 68 20 61 6e 20 61 6c 72 | 65 61 64 79 20 72 75 6e |h an alr|eady run|
|00005660| 6e 69 6e 67 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ning app|lication|
|00005670| 20 74 6f 20 74 68 65 20 | 66 72 6f 6e 74 2c 51 2d | to the |front,Q-|
|00005680| 2d 20 61 6e 64 20 77 6f | 6e 27 74 20 6c 61 75 6e |- and wo|n't laun|
|00005690| 63 68 20 6e 65 77 20 61 | 70 70 6c 69 63 61 74 69 |ch new a|pplicati|
|000056a0| 6f 6e 73 20 69 6e 20 66 | 72 6f 6e 74 2e 20 4e 6f |ons in f|ront. No|
|000056b0| 74 65 20 74 68 61 74 20 | 73 75 70 70 6c 79 69 6e |te that |supplyin|
|000056c0| 67 20 61 20 64 6f 63 75 | 6d 65 6e 74 20 6d 61 79 |g a docu|ment may|
|000056d0| 34 2d 2d 20 63 61 75 73 | 65 20 74 68 65 20 61 70 |4-- caus|e the ap|
|000056e0| 70 20 74 6f 20 6d 6f 76 | 65 20 69 74 73 65 6c 66 |p to mov|e itself|
|000056f0| 20 74 6f 20 74 68 65 20 | 66 72 6f 6e 74 20 61 6e | to the |front an|
|00005700| 79 77 61 79 2e 3a 49 53 | 53 20 6d 4c 61 75 6e 63 |yway.:IS|S mLaunc|
|00005710| 68 48 69 64 64 65 6e 2c | 20 74 68 65 50 72 6f 67 |hHidden,| theProg|
|00005720| 72 61 6d 46 69 6c 65 2c | 20 74 68 65 43 6f 6d 6d |ramFile,| theComm|
|00005730| 61 6e 64 4c 69 6e 65 41 | 72 67 75 6d 65 6e 74 73 |andLineA|rguments|
|00005740| 3d 49 53 53 20 6d 4c 61 | 75 6e 63 68 4d 69 6e 69 |=ISS mLa|unchMini|
|00005750| 6d 69 7a 65 64 2c 20 74 | 68 65 50 72 6f 67 72 61 |mized, t|heProgra|
|00005760| 6d 46 69 6c 65 2c 20 74 | 68 65 43 6f 6d 6d 61 6e |mFile, t|heComman|
|00005770| 64 4c 69 6e 65 41 72 67 | 75 6d 65 6e 74 73 53 2d |dLineArg|umentsS-|
|00005780| 2d 20 54 68 65 72 65 27 | 73 20 6e 6f 20 4d 61 63 |- There'|s no Mac|
|00005790| 20 65 71 75 69 76 61 6c | 65 6e 74 73 20 66 6f 72 | equival|ents for|
|000057a0| 20 74 68 65 73 65 20 57 | 69 6e 64 6f 77 73 20 6d | these W|indows m|
|000057b0| 65 74 68 6f 64 73 2c 20 | 73 6f 20 74 68 65 73 65 |ethods, |so these|
|000057c0| 20 61 72 65 20 6a 75 73 | 74 20 73 79 6e 6f 6e 79 | are jus|t synony|
|000057d0| 6d 73 29 2d 2d 20 66 6f | 72 20 6d 4c 61 75 6e 63 |ms)-- fo|r mLaunc|
|000057e0| 68 42 75 74 44 6f 6e 74 | 41 63 74 69 76 61 74 65 |hButDont|Activate|
|000057f0| 20 6f 6e 20 74 68 65 20 | 4d 61 63 2e 3d 49 53 53 | on the |Mac.=ISS|
|00005800| 20 6d 4c 61 75 6e 63 68 | 4d 61 78 69 6d 69 7a 65 | mLaunch|Maximize|
|00005810| 64 2c 20 74 68 65 50 72 | 6f 67 72 61 6d 46 69 6c |d, thePr|ogramFil|
|00005820| 65 2c 20 74 68 65 43 6f | 6d 6d 61 6e 64 4c 69 6e |e, theCo|mmandLin|
|00005830| 65 41 72 67 75 6d 65 6e | 74 73 4f 2d 2d 20 54 68 |eArgumen|tsO-- Th|
|00005840| 65 72 65 27 73 20 6e 6f | 20 4d 61 63 20 65 71 75 |ere's no| Mac equ|
|00005850| 69 76 61 6c 65 6e 74 20 | 66 6f 72 20 74 68 69 73 |ivalent |for this|
|00005860| 20 57 69 6e 64 6f 77 73 | 20 6d 65 74 68 6f 64 2c | Windows| method,|
|00005870| 20 73 6f 20 74 68 69 73 | 20 69 73 20 6a 75 73 74 | so this| is just|
|00005880| 20 61 20 73 79 6e 6f 6e | 79 6d 1a 2d 2d 20 66 6f | a synon|ym.-- fo|
|00005890| 72 20 6d 4c 61 75 6e 63 | 68 20 6f 6e 20 74 68 65 |r mLaunc|h on the|
|000058a0| 20 4d 61 63 2e 02 2d 2d | 02 2d 2d 13 2d 2d 20 4c | Mac..--|.--.-- L|
|000058b0| 41 55 4e 43 48 20 55 54 | 49 4c 49 54 49 45 53 13 |AUNCH UT|ILITIES.|
|000058c0| 2d 2d 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |-- -----|--------|
|000058d0| 2d 2d 2d 02 2d 2d 1d 53 | 53 20 6d 4c 6f 63 61 74 |---.--.S|S mLocat|
|000058e0| 65 45 78 65 63 75 74 61 | 62 6c 65 2c 20 74 68 65 |eExecuta|ble, the|
|000058f0| 46 69 6c 65 48 2d 2d 20 | 52 65 74 75 72 6e 73 20 |FileH-- |Returns |
|00005900| 74 68 65 20 66 75 6c 6c | 20 66 69 6c 65 6e 61 6d |the full| filenam|
|00005910| 65 20 6f 66 20 74 68 65 | 20 61 70 70 6c 69 63 61 |e of the| applica|
|00005920| 74 69 6f 6e 20 72 65 67 | 69 73 74 65 72 65 64 20 |tion reg|istered |
|00005930| 74 6f 20 6c 61 75 6e 63 | 68 20 74 68 65 46 2d 2d |to launc|h theF--|
|00005940| 20 70 72 6f 76 69 64 65 | 64 20 66 69 6c 65 20 28 | provide|d file (|
|00005950| 75 73 65 20 61 20 66 75 | 6c 6c 20 70 61 74 68 20 |use a fu|ll path |
|00005960| 74 6f 20 74 68 65 20 66 | 69 6c 65 6e 61 6d 65 29 |to the f|ilename)|
|00005970| 2e 20 41 6c 74 65 72 6e | 61 74 69 76 65 20 75 73 |. Altern|ative us|
|00005980| 61 67 65 3a 45 2d 2d 20 | 70 72 6f 76 69 64 65 20 |age:E-- |provide |
|00005990| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 6e |an appli|cation n|
|000059a0| 61 6d 65 20 77 69 74 68 | 6f 75 74 20 61 20 70 61 |ame with|out a pa|
|000059b0| 74 68 2c 20 69 6e 73 74 | 65 61 64 20 6f 66 20 61 |th, inst|ead of a|
|000059c0| 20 64 6f 63 75 6d 65 6e | 74 3b 43 2d 2d 20 74 68 | documen|t;C-- th|
|000059d0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 27 73 20 |e applic|ation's |
|000059e0| 66 6f 6c 64 65 72 20 77 | 69 6c 6c 20 62 65 20 72 |folder w|ill be r|
|000059f0| 65 74 75 72 6e 65 64 2e | 20 52 65 74 75 72 6e 73 |eturned.| Returns|
|00005a00| 20 61 20 73 74 72 69 6e | 67 20 77 69 74 68 47 2d | a strin|g withG-|
|00005a10| 2d 20 77 6f 72 64 20 31 | 20 27 45 72 72 6f 72 3a |- word 1| 'Error:|
|00005a20| 27 20 69 66 20 6e 6f 74 | 68 69 6e 67 20 63 61 6e |' if not|hing can|
|00005a30| 20 62 65 20 6c 6f 63 61 | 74 65 64 2e 20 4e 6f 74 | be loca|ted. Not|
|00005a40| 65 20 74 68 61 74 20 74 | 68 65 20 61 6c 74 65 72 |e that t|he alter|
|00005a50| 6e 61 74 69 76 65 4c 2d | 2d 20 75 73 61 67 65 20 |nativeL-|- usage |
|00005a60| 63 61 6e 20 74 61 6b 65 | 20 71 75 69 74 65 20 61 |can take| quite a|
|00005a70| 20 77 68 69 6c 65 2c 20 | 61 73 20 69 74 20 73 65 | while, |as it se|
|00005a80| 61 72 63 68 65 73 20 61 | 6c 6c 20 6c 6f 63 61 6c |arches a|ll local|
|00005a90| 20 61 6e 64 20 6e 65 74 | 77 6f 72 6b 20 64 69 73 | and net|work dis|
|00005aa0| 6b 73 2e 51 2d 2d 20 41 | 6c 73 6f 20 6e 6f 74 65 |ks.Q-- A|lso note|
|00005ab0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 4d | the fol|lowing M|
|00005ac0| 61 63 2d 6f 6e 6c 79 20 | 61 6c 69 61 73 20 6d 65 |ac-only |alias me|
|00005ad0| 74 68 6f 64 73 20 77 68 | 69 63 68 20 61 66 66 65 |thods wh|ich affe|
|00005ae0| 63 74 20 6d 4c 6f 63 61 | 74 65 45 78 65 63 75 74 |ct mLoca|teExecut|
|00005af0| 61 62 6c 65 2e 1c 58 20 | 6d 4c 6f 63 61 74 65 41 |able..X |mLocateA|
|00005b00| 6c 69 61 73 65 73 20 2d | 2d 4d 61 63 20 6f 6e 6c |liases -|-Mac onl|
|00005b10| 79 21 20 58 20 6d 44 6f | 6e 74 4c 6f 63 61 74 65 |y! X mDo|ntLocate|
|00005b20| 41 6c 69 61 73 65 73 20 | 2d 2d 4d 61 63 20 6f 6e |Aliases |--Mac on|
|00005b30| 6c 79 21 42 2d 2d 20 43 | 6f 6e 74 72 6f 6c 73 20 |ly!B-- C|ontrols |
|00005b40| 77 68 65 74 68 65 72 20 | 74 68 65 20 6d 4c 6f 63 |whether |the mLoc|
|00005b50| 61 74 65 45 78 65 63 75 | 74 61 62 6c 65 20 6d 65 |ateExecu|table me|
|00005b60| 74 68 6f 64 20 77 69 6c | 6c 20 72 65 74 75 72 6e |thod wil|l return|
|00005b70| 20 61 6c 69 61 73 48 2d | 2d 20 66 69 6c 65 73 20 | aliasH-|- files |
|00005b80| 77 68 65 6e 20 75 73 69 | 6e 67 20 74 68 65 20 61 |when usi|ng the a|
|00005b90| 6c 74 65 72 6e 61 74 69 | 76 65 20 73 79 6e 74 61 |lternati|ve synta|
|00005ba0| 78 20 74 6f 20 66 69 6e | 64 20 61 20 73 70 65 63 |x to fin|d a spec|
|00005bb0| 69 66 69 63 20 66 69 6c | 65 20 6e 61 6d 65 2e 48 |ific fil|e name.H|
|00005bc0| 2d 2d 20 54 68 65 20 64 | 65 66 61 75 6c 74 20 69 |-- The d|efault i|
|00005bd0| 73 20 2a 6e 6f 74 2a 20 | 74 6f 20 6c 6f 63 61 74 |s *not* |to locat|
|00005be0| 65 20 61 6c 69 61 73 65 | 73 2e 20 49 66 20 79 6f |e aliase|s. If yo|
|00005bf0| 75 20 61 73 6b 20 74 6f | 20 6c 6f 63 61 74 65 20 |u ask to| locate |
|00005c00| 61 6c 69 61 73 65 73 2c | 48 2d 2d 20 75 73 65 20 |aliases,|H-- use |
|00005c10| 6d 52 65 73 6f 6c 76 65 | 41 6c 69 61 73 20 74 6f |mResolve|Alias to|
|00005c20| 20 63 68 65 63 6b 20 77 | 68 65 74 68 65 72 20 61 | check w|hether a|
|00005c30| 20 6c 6f 63 61 74 65 64 | 20 66 69 6c 65 20 69 73 | located| file is|
|00005c40| 20 72 65 61 6c 6c 79 20 | 61 6e 20 61 6c 69 61 73 | really |an alias|
|00005c50| 2e 25 53 53 20 6d 52 65 | 73 6f 6c 76 65 41 6c 69 |.%SS mRe|solveAli|
|00005c60| 61 73 2c 20 74 68 65 46 | 69 6c 65 20 2d 2d 4d 61 |as, theF|ile --Ma|
|00005c70| 63 20 6f 6e 6c 79 21 52 | 2d 2d 20 54 65 6c 6c 73 |c only!R|-- Tells|
|00005c80| 20 77 68 69 63 68 20 66 | 69 6c 65 20 6f 72 20 66 | which f|ile or f|
|00005c90| 6f 6c 64 65 72 20 69 73 | 20 72 65 66 65 72 72 65 |older is| referre|
|00005ca0| 64 20 74 6f 20 62 79 20 | 61 6e 20 61 6c 69 61 73 |d to by |an alias|
|00005cb0| 20 66 69 6c 65 2c 20 6f | 72 20 72 65 74 75 72 6e | file, o|r return|
|00005cc0| 73 20 61 6e 20 65 72 72 | 6f 72 48 2d 2d 20 77 69 |s an err|orH-- wi|
|00005cd0| 74 68 20 77 6f 72 64 20 | 31 20 27 3a 45 72 72 6f |th word |1 ':Erro|
|00005ce0| 72 3a 27 20 28 6e 6f 74 | 65 20 74 68 65 20 69 6e |r:' (not|e the in|
|00005cf0| 69 74 69 61 6c 20 63 6f | 6c 6f 6e 2c 20 77 68 69 |itial co|lon, whi|
|00005d00| 63 68 20 64 69 73 74 69 | 6e 67 75 69 73 68 65 73 |ch disti|nguishes|
|00005d10| 20 61 6e 4f 2d 2d 20 65 | 72 72 6f 72 20 66 72 6f | anO-- e|rror fro|
|00005d20| 6d 20 61 20 76 61 6c 69 | 64 6c 79 20 72 65 73 6f |m a vali|dly reso|
|00005d30| 6c 76 65 64 20 66 69 6c | 65 20 6f 72 20 66 6f 6c |lved fil|e or fol|
|00005d40| 64 65 72 20 6f 6e 20 61 | 20 68 61 72 64 20 64 72 |der on a| hard dr|
|00005d50| 69 76 65 20 6e 61 6d 65 | 64 20 27 45 72 72 6f 72 |ive name|d 'Error|
|00005d60| 27 29 2e 13 49 20 6d 47 | 65 74 4d 65 6e 75 42 61 |')..I mG|etMenuBa|
|00005d70| 72 48 65 69 67 68 74 1f | 49 49 20 6d 53 65 74 4d |rHeight.|II mSetM|
|00005d80| 65 6e 75 42 61 72 48 65 | 69 67 68 74 2c 20 6e 65 |enuBarHe|ight, ne|
|00005d90| 77 48 65 69 67 68 74 12 | 49 20 6d 47 65 74 53 79 |wHeight.|I mGetSy|
|00005da0| 73 74 65 6d 53 63 72 69 | 70 74 12 49 20 6d 47 65 |stemScri|pt.I mGe|
|00005db0| 74 53 79 73 74 65 6d 52 | 65 67 69 6f 6e 46 2d 2d |tSystemR|egionF--|
|00005dc0| 20 54 68 65 73 65 20 6d | 65 74 68 6f 64 73 20 61 | These m|ethods a|
|00005dd0| 72 65 20 75 73 65 66 75 | 6c 20 74 6f 20 61 73 73 |re usefu|l to ass|
|00005de0| 75 72 65 20 74 68 61 74 | 20 61 6e 79 20 61 70 70 |ure that| any app|
|00005df0| 6c 69 63 61 74 69 6f 6e | 73 20 79 6f 75 20 6c 61 |lication|s you la|
|00005e00| 75 6e 63 68 4a 2d 2d 20 | 6f 72 20 73 77 69 74 63 |unchJ-- |or switc|
|00005e10| 68 20 74 6f 20 70 72 6f | 70 65 72 6c 79 20 64 69 |h to pro|perly di|
|00005e20| 73 70 6c 61 79 20 74 68 | 65 69 72 20 6d 65 6e 75 |splay th|eir menu|
|00005e30| 73 2e 20 4d 61 63 20 70 | 72 6f 6a 65 63 74 6f 72 |s. Mac p|rojector|
|00005e40| 73 20 64 6f 6e 27 74 20 | 63 6f 6e 74 61 69 6e 51 |s don't |containQ|
|00005e50| 2d 2d 20 6d 65 6e 75 73 | 20 75 73 75 61 6c 6c 79 |-- menus| usually|
|00005e60| 3b 20 74 68 65 73 65 20 | 4d 61 63 2d 6f 6e 6c 79 |; these |Mac-only|
|00005e70| 20 6d 65 74 68 6f 64 73 | 20 6c 65 74 20 79 6f 75 | methods| let you|
|00005e80| 20 73 6f 6c 76 65 20 61 | 6e 79 20 6d 65 6e 75 20 | solve a|ny menu |
|00005e90| 64 69 73 70 6c 61 79 20 | 70 72 6f 62 6c 65 6d 73 |display |problems|
|00005ea0| 2e 48 2d 2d 20 54 68 65 | 20 55 53 20 73 79 73 74 |.H-- The| US syst|
|00005eb0| 65 6d 20 73 63 72 69 70 | 74 20 28 30 29 20 75 73 |em scrip|t (0) us|
|00005ec0| 65 73 20 61 20 73 74 61 | 6e 64 61 72 64 20 6d 65 |es a sta|ndard me|
|00005ed0| 6e 75 20 62 61 72 20 68 | 65 69 67 68 74 20 6f 66 |nu bar h|eight of|
|00005ee0| 20 32 30 2e 20 4f 74 68 | 65 72 49 2d 2d 20 6c 6f | 20. Oth|erI-- lo|
|00005ef0| 63 61 6c 69 7a 65 64 20 | 73 79 73 74 65 6d 20 76 |calized |system v|
|00005f00| 65 72 73 69 6f 6e 73 20 | 6d 61 79 20 75 73 65 20 |ersions |may use |
|00005f10| 64 69 66 66 65 72 65 6e | 74 20 68 65 69 67 68 74 |differen|t height|
|00005f20| 73 2e 20 54 68 65 20 70 | 72 6f 70 65 72 20 68 65 |s. The p|roper he|
|00005f30| 69 67 68 74 4c 2d 2d 20 | 74 6f 20 75 73 65 20 63 |ightL-- |to use c|
|00005f40| 61 6e 20 62 65 20 64 65 | 74 65 72 6d 69 6e 65 64 |an be de|termined|
|00005f50| 20 69 6e 20 74 68 65 20 | 61 75 74 68 6f 72 69 6e | in the |authorin|
|00005f60| 67 20 4d 65 73 73 61 67 | 65 20 77 69 6e 64 6f 77 |g Messag|e window|
|00005f70| 20 6f 6e 20 73 75 63 68 | 20 73 79 73 74 65 6d 73 | on such| systems|
|00005f80| 2e 4b 2d 2d 20 53 65 65 | 20 74 68 65 20 73 75 70 |.K-- See| the sup|
|00005f90| 70 6c 69 65 64 20 52 65 | 61 64 20 4d 65 20 69 6e |plied Re|ad Me in|
|00005fa0| 66 6f 20 66 6f 72 20 74 | 68 65 20 6d 65 61 6e 69 |fo for t|he meani|
|00005fb0| 6e 67 20 6f 66 20 73 63 | 72 69 70 74 20 26 20 72 |ng of sc|ript & r|
|00005fc0| 65 67 69 6f 6e 20 76 61 | 6c 75 65 73 2e 48 2d 2d |egion va|lues.H--|
|00005fd0| 20 4f 72 2c 20 75 73 65 | 20 4c 69 6e 67 6f 27 73 | Or, use| Lingo's|
|00005fe0| 20 27 69 6e 73 74 61 6c | 6c 4d 65 6e 75 27 20 74 | 'instal|lMenu' t|
|00005ff0| 6f 20 69 6e 73 74 61 6c | 6c 20 61 20 62 6c 61 6e |o instal|l a blan|
|00006000| 6b 20 6d 65 6e 75 20 69 | 6e 20 61 20 70 72 6f 6a |k menu i|n a proj|
|00006010| 65 63 74 6f 72 2c 4d 2d | 2d 20 6f 6e 63 65 2c 20 |ector,M-|- once, |
|00006020| 74 65 6d 70 6f 72 61 72 | 69 6c 79 2c 20 74 6f 20 |temporar|ily, to |
|00006030| 64 65 74 65 72 6d 69 6e | 65 20 74 68 65 20 6d 65 |determin|e the me|
|00006040| 6e 75 20 62 61 72 20 68 | 65 69 67 68 74 20 69 6e |nu bar h|eight in|
|00006050| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 79 73 | the cur|rent sys|
|00006060| 74 65 6d 2e 1d 53 53 20 | 6d 47 65 74 53 68 6f 72 |tem..SS |mGetShor|
|00006070| 74 46 69 6c 65 4e 61 6d | 65 2c 20 74 68 65 46 69 |tFileNam|e, theFi|
|00006080| 6c 65 1c 53 53 20 6d 47 | 65 74 4c 6f 6e 67 46 69 |le.SS mG|etLongFi|
|00006090| 6c 65 4e 61 6d 65 2c 20 | 74 68 65 46 69 6c 65 54 |leName, |theFileT|
|000060a0| 2d 2d 20 4f 6e 20 74 68 | 65 20 4d 61 63 2c 20 74 |-- On th|e Mac, t|
|000060b0| 68 65 72 65 20 69 73 20 | 6e 6f 20 64 69 66 66 65 |here is |no diffe|
|000060c0| 72 65 6e 63 65 20 69 6e | 20 66 69 6c 65 20 6e 61 |rence in| file na|
|000060d0| 6d 69 6e 67 2c 20 73 6f | 20 74 68 65 73 65 20 6d |ming, so| these m|
|000060e0| 65 74 68 6f 64 73 20 73 | 69 6d 70 6c 79 20 72 65 |ethods s|imply re|
|000060f0| 74 75 72 6e 22 2d 2d 20 | 74 68 65 20 73 61 6d 65 |turn"-- |the same|
|00006100| 20 73 74 72 69 6e 67 20 | 70 61 73 73 65 64 20 74 | string |passed t|
|00006110| 6f 20 74 68 65 6d 2e 19 | 49 53 20 6d 4f 70 65 6e |o them..|IS mOpen|
|00006120| 44 6f 63 75 6d 65 6e 74 | 2c 20 74 68 65 46 69 6c |Document|, theFil|
|00006130| 65 4a 2d 2d 20 4f 70 65 | 6e 73 20 61 20 64 6f 63 |eJ-- Ope|ns a doc|
|00006140| 75 6d 65 6e 74 20 77 69 | 74 68 20 69 74 73 20 72 |ument wi|th its r|
|00006150| 65 67 69 73 74 65 72 65 | 64 20 61 70 70 6c 69 63 |egistere|d applic|
|00006160| 61 74 69 6f 6e 20 28 6c | 61 75 6e 63 68 69 6e 67 |ation (l|aunching|
|00006170| 20 74 68 65 20 61 70 70 | 2c 20 69 66 47 2d 2d 20 | the app|, ifG-- |
|00006180| 6e 65 63 65 73 73 61 72 | 79 29 2e 20 52 65 74 75 |necessar|y). Retu|
|00006190| 72 6e 73 20 61 6e 20 69 | 6e 73 74 61 6e 63 65 49 |rns an i|nstanceI|
|000061a0| 44 20 6f 66 20 74 68 65 | 20 6c 61 75 6e 63 68 65 |D of the| launche|
|000061b0| 64 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 6f |d applic|ation, o|
|000061c0| 72 20 2d 31 45 2d 2d 20 | 69 66 20 74 68 65 20 66 |r -1E-- |if the f|
|000061d0| 69 6c 65 20 69 73 20 6d | 69 73 73 69 6e 67 2c 20 |ile is m|issing, |
|000061e0| 6f 72 20 61 6e 6f 74 68 | 65 72 20 6e 65 67 61 74 |or anoth|er negat|
|000061f0| 69 76 65 20 6e 75 6d 62 | 65 72 20 69 66 20 74 68 |ive numb|er if th|
|00006200| 65 72 65 27 73 20 73 6f | 6d 65 4b 2d 2d 20 6f 74 |ere's so|meK-- ot|
|00006210| 68 65 72 20 70 72 6f 62 | 6c 65 6d 20 6f 70 65 6e |her prob|lem open|
|00006220| 69 6e 67 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |ing the |document|
|00006230| 2e 20 4f 6e 20 74 68 65 | 20 4d 61 63 2c 20 79 6f |. On the| Mac, yo|
|00006240| 75 20 6d 61 79 20 6e 65 | 65 64 20 74 6f 20 73 65 |u may ne|ed to se|
|00006250| 74 20 74 68 65 20 4e 2d | 2d 20 6d 65 6e 75 20 62 |t the N-|- menu b|
|00006260| 61 72 20 68 65 69 67 68 | 74 20 77 68 65 6e 20 6c |ar heigh|t when l|
|00006270| 61 75 6e 63 68 69 6e 67 | 20 61 70 70 73 20 66 72 |aunching| apps fr|
|00006280| 6f 6d 20 70 72 6f 6a 65 | 63 74 6f 72 73 20 28 73 |om proje|ctors (s|
|00006290| 65 65 20 6d 47 65 74 4d | 65 6e 75 42 61 72 48 65 |ee mGetM|enuBarHe|
|000062a0| 69 67 68 74 2c 22 2d 2d | 20 6d 53 65 74 4d 65 6e |ight,"--| mSetMen|
|000062b0| 75 42 61 72 48 65 69 67 | 68 74 2c 20 65 74 63 2e |uBarHeig|ht, etc.|
|000062c0| 20 61 62 6f 76 65 29 2e | 1a 49 53 20 6d 50 72 69 | above).|.IS mPri|
|000062d0| 6e 74 44 6f 63 75 6d 65 | 6e 74 2c 20 74 68 65 46 |ntDocume|nt, theF|
|000062e0| 69 6c 65 4b 2d 2d 20 50 | 72 69 6e 74 73 20 61 20 |ileK-- P|rints a |
|000062f0| 64 6f 63 75 6d 65 6e 74 | 20 77 69 74 68 20 69 74 |document| with it|
|00006300| 73 20 72 65 67 69 73 74 | 65 72 65 64 20 61 70 70 |s regist|ered app|
|00006310| 6c 69 63 61 74 69 6f 6e | 20 28 6c 61 75 6e 63 68 |lication| (launch|
|00006320| 69 6e 67 20 74 68 65 20 | 61 70 70 2c 20 69 66 47 |ing the |app, ifG|
|00006330| 2d 2d 20 6e 65 63 65 73 | 73 61 72 79 29 2e 20 52 |-- neces|sary). R|
|00006340| 65 74 75 72 6e 73 20 61 | 6e 20 69 6e 73 74 61 6e |eturns a|n instan|
|00006350| 63 65 49 44 20 6f 66 20 | 74 68 65 20 6c 61 75 6e |ceID of |the laun|
|00006360| 63 68 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ched app|lication|
|00006370| 2c 20 6f 72 20 2d 31 45 | 2d 2d 20 69 66 20 74 68 |, or -1E|-- if th|
|00006380| 65 20 66 69 6c 65 20 69 | 73 20 6d 69 73 73 69 6e |e file i|s missin|
|00006390| 67 2c 20 6f 72 20 61 6e | 6f 74 68 65 72 20 6e 65 |g, or an|other ne|
|000063a0| 67 61 74 69 76 65 20 6e | 75 6d 62 65 72 20 69 66 |gative n|umber if|
|000063b0| 20 74 68 65 72 65 27 73 | 20 73 6f 6d 65 4a 2d 2d | there's| someJ--|
|000063c0| 20 6f 74 68 65 72 20 70 | 72 6f 62 6c 65 6d 20 6f | other p|roblem o|
|000063d0| 70 65 6e 69 6e 67 20 74 | 68 65 20 64 6f 63 75 6d |pening t|he docum|
|000063e0| 65 6e 74 2e 20 4f 6e 20 | 74 68 65 20 4d 61 63 2c |ent. On |the Mac,|
|000063f0| 20 79 6f 75 20 6d 61 79 | 20 6e 65 65 64 20 74 6f | you may| need to|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.